#ifndef INC_PTRC_TS_SETTINGS_H_ #define INC_PTRC_TS_SETTINGS_H_ 1 #define _PTRC_TS_DIMENSIONALITY 5ul #define _PTRC_TS_NUM_OF_SPHERES 6ul #define _PTRC_TS_NUM_OF_RUNS 6ul #define _PTRC_TS_RANGE_MULTIPLIER 1.0f #define _PTRC_TS_MIN_SENSOR_UNCERTAINTY 0.0f #define _PTRC_TS_MAX_SENSOR_UNCERTAINTY 0.5f #define _PTRC_TS_SENSOR_UNCERTAINTY_INCREMENT 0.01f #define _PTRC_TS_NUM_OF_CASES_FOR_ONE_INCREMENT 10000ul #define _PTRC_MAX_ITERATIONS_ON_SPHERE 100ul #define _PTRC_TS_STATISTICS_FILENAME "stat_report.txt" #define _PTRC_TS_STATISTICS_DISCRETISATION_STEP 0.001f #define _PTRC_TS_FLOAT_OUTFORM "%.7f" //#define _PTRC_TS_DATA_OUTPUT_MODE /* verbose output mode for visualisation */ /* Format description for parsing of visualisation output: * - the first value - sensor uncertainty (_unc); * - the second value - max iterations on one sphere (_itr); * - the third value - dimensionality (_d); * - the fourth value - number of known spheres; * - the fifth value - number of start points (runs); * - the next _d(_d+1) values - centres; * - the next _d+1 values - radiuses; * - the next records consist of three parts: * 1) iteration number (_i); * 2) _d of new point coordinates; * 3) lambda value (quality); * The last two sequence have _i differ by 2, for example: * 15.000000 ... * 17.000000 ... * what means the 17th (differs by 2) sequence is the result * of the refinement. After that iteration counter resets and * _i becomes zero. * The sequence before the last have the number -1 what means * that it is the final choice of an approximation. * The last sequence have the number -2 and is real point * with the distance to approximation (error). */ //#define _PTRC_TS_VERBOSE_MODE /* verbose output mode in human readable form */ #endif /* INC_PTRC_TS_SETTINGS_H_ */