00001 #ifndef CTESTOBJECTIVE2_H 00002 #define CTESTOBJECTIVE2_H 00003 00004 #include "GeneralObjective.h" 00005 namespace gplib 00006 { 00007 /** \addtogroup gainv Genetic algorithm optimization */ 00008 /* @{ */ 00009 class TestObjective2: public GeneralObjective 00010 { 00011 private: 00012 bool compatible; 00013 public: 00014 virtual TestObjective2 *clone() const 00015 { 00016 return new TestObjective2(*this); 00017 } 00018 virtual double PostParallel(const ttranscribed &member); 00019 TestObjective2(bool compat = true); 00020 virtual ~TestObjective2(); 00021 }; 00022 /* @} */ 00023 } 00024 #endif // CTESTOBJECTIVE_H
1.5.8