00001 #ifndef RVG_H_ 00002 #define RVG_H_ 00003 00004 #include "./Genotype.h" 00005 00019 class RealValueGenotype: public Genotype { 00020 00021 protected: 00022 double minValue_; 00023 double maxValue_; 00024 uint nDimension_; 00025 00026 00027 public: 00028 std::vector<double> realValue; 00029 00031 double getLBound () 00032 { return minValue_; } 00033 00035 double getUBound () 00036 { return maxValue_; } 00037 00039 virtual bool update (void) 00040 { return true; } 00041 00042 }; 00043 typedef boost::shared_ptr<RealValueGenotype> RealValueGenotypeP; 00044 00045 #endif