00001 #ifndef FUNCTIONMINEVALOP_H_ 00002 #define FUNCTIONMINEVALOP_H_ 00003 00004 #include <cmath> 00005 00006 00045 class FunctionMinEvalOp : public EvaluateOp 00046 { 00047 public: 00048 uint iFunction_; 00049 std::string cocoFolder_; 00050 std::string cocoAlgName_; 00051 std::string cocoAlgComments_; 00052 uint cocoInstance_; 00053 bool experimentMode_; 00054 double coco_optimum_; 00055 bool isCocoInitialized_; 00056 00057 public: 00058 FunctionMinEvalOp() 00059 { 00060 isCocoInitialized_ = false; 00061 experimentMode_ = false; 00062 } 00063 FitnessP evaluate(IndividualP individual); 00064 void registerParameters(StateP); 00065 bool initialize(StateP); 00066 }; 00067 typedef boost::shared_ptr<FunctionMinEvalOp> FunctionMinEvalOpP; 00068 00069 #endif /* FUNCTIONMINEVALOP_H_ */