src/smp/planners/planner_parameters.h

Go to the documentation of this file.
00001 
00008 #ifndef _SMP_PLANNER_PARAMETERS_H_
00009 #define _SMP_PLANNER_PARAMETERS_H_
00010 
00011 
00012 namespace smp {
00013     
00014     
00016 
00021     class planner_parameters {
00022 
00023 
00024         // Phase parameter of the algorithm.
00025         int phase;
00026     
00027         // Gamma parameter in the Near vertices computation.
00028         double gamma;
00029     
00030         // Dimensionality of the space in the Near vertices computation.
00031         int dimension;
00032     
00033         // Maximum radius in the Near vertices computation.
00034         int max_radius;
00035 
00036         // The fixed radius parameter of the related feature.
00037         double fixed_radius;
00038 
00039     
00040     public:
00041 
00042         planner_parameters ();
00043         ~planner_parameters ();
00044 
00049 
00050 
00066         int set_phase (int phase_in);
00067 
00068 
00078         int get_phase () {return phase;}
00079 
00080 
00093         int set_gamma (double gamma_in);
00094 
00095 
00105         double get_gamma () {return gamma;}
00106 
00107 
00120         int set_dimension (int dimension_in);
00121 
00122 
00132         int get_dimension () {return dimension;}
00133 
00134 
00148         int set_max_radius (double max_radius_in);
00149 
00150 
00160         double get_max_radius () {return max_radius;}
00161 
00162     
00183         int set_fixed_radius (double fixed_radius_in);
00184 
00185     
00196         void reset_fixed_radius () {fixed_radius = -1.0;}
00197     
00198 
00199     
00211         double get_fixed_radius () {return fixed_radius;}
00212     
00214     
00215     };
00216 
00217 }
00218 
00219 #endif