00001 00020 #ifndef _PROBLEM_CEC2005_H 00021 00022 #define _PROBLEM_CEC2005_H 1 00023 00024 #include <realea/common/problemfactory.h> 00025 #include <realea/common/random.h> 00026 00027 namespace realea { 00028 00029 class ProblemCEC2005 : public ProblemFactory { 00030 public: 00031 ProblemCEC2005(Random *random, unsigned int dim); 00032 ~ProblemCEC2005(void); 00033 ProblemPtr get(unsigned int ident=1); 00037 void init(unsigned int fun); 00038 00039 private: 00040 Random *m_random; 00041 unsigned int m_ndim; 00042 bool m_init; 00043 }; 00044 00045 } 00046 00047 #endif