This file is indexed.

/usr/include/BALL/QSAR/configIO.h is in libball1.4-dev 1.4.1+20111206-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/* configIO.h
 * 
 * Copyright (C) 2009 Marcel Schumann
 * 
 * This file is part of QuEasy -- A Toolbox for Automated QSAR Model
 * Construction and Validation.
 * QuEasy is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or (at
 * your option) any later version.
 * 
 * QuEasy is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */

#ifndef CONFIG_IO_H
#define CONFIG_IO_H

#include <istream>
#include <BALL/DATATYPE/string.h>
#include <istream>
#include <set>
 
namespace BALL
{
	namespace QSAR
	{
		struct BALL_EXPORT InputConfiguration
		{
			InputConfiguration();
			
			String sd_file;
			std::multiset<int> activities;
			bool read_sd_descriptors;
			bool center_data;
			bool center_y;
			String output;
			double validation_fraction;
			bool separate_activity_file;
			bool within_section;
			vector<String> csv_file;
			vector<int> csv_no_response;
			vector<bool> csv_desc_labels;
			vector<bool> csv_compound_labels;
			vector<String> csv_separator;
			bool nonnumeric_class_names;
			bool done;
		};
		
		struct BALL_EXPORT InputPartitioningConfiguration
		{
			InputPartitioningConfiguration(); 
			
			String input_file;
			double validation_fraction;
			int no_folds;
			int ID;
			bool done;
		};
		
		struct BALL_EXPORT ModelConfiguration
		{
			ModelConfiguration();
			
			bool done;
			String data_file;
			String output;
			String descriptor_source_model;
			vector<double> model_parameters;
			int model_no; 
			int kernel_type;
			double kernel_par1;
			double kernel_par2;
			int k_fold;
			bool optimize_model_parameters;
			double grid_search_stepwidth;
			int grid_search_steps;
			int grid_search_recursions;
			bool within_section;
			bool no_training;
		};
		
		struct BALL_EXPORT FeatureSelectionConfiguration
		{
			FeatureSelectionConfiguration();
			
			String model;
			String data_file;
			int feat_type;
			String output;
			int k_fold;
			bool within_section;
			String statistic_name;
			String selection_name;
			int statistic;
			bool remove_correlated;
			double cor_threshold;
			bool opt_model_after_fs;
			bool opt_kernel_after_fs;
			double quality_increase_cutoff;
			bool opt;
			bool done;
			int grid_search_steps;
			int grid_search_recursions;
			double grid_search_stepwidth;
			int opt_k_fold;
		};
		
		struct BALL_EXPORT ValidationConfiguration
		{
			ValidationConfiguration();
			
			String model;
			String data;
			String validation_data;
			int val_type;
			String output;
			int k_folds;
			int bootstrap_samples;
			int no_of_permutation_tests;
			int statistic;
			String statistic_name;
			vector<String> external_predictions;
			bool for_visualization_only;
			bool done;
		};
		
		struct BALL_EXPORT PredictionConfiguration
		{
			PredictionConfiguration();
			
			String model;
			String data;
			String output;
			int statistic;
			String statistic_name;
			bool print_expected;
			bool done;
		};
		
		
		class BALL_EXPORT ConfigIO
		{
			public:
				
				static void putbackLine(std::istream* input,String& line);
				
				static ModelConfiguration readModelConfiguration(std::istream* input);
		
				static FeatureSelectionConfiguration readFeatureSelectionConfiguration(std::istream* input);
		
				static InputConfiguration readInputConfiguration(std::istream* input);
		
				static InputPartitioningConfiguration readInputPartitioningConfiguration(std::istream* input);
				
				static ValidationConfiguration readValidationConfiguration(std::istream* input);
				
				static PredictionConfiguration readPredictionConfiguration(std::istream* input);		
		};
	}
}


#endif // CONFIG_IO_H