ECF 1.5
FunctionMinEvalOp.h
1#ifndef FUNCTIONMINEVALOP_H_
2#define FUNCTIONMINEVALOP_H_
3
4#include <cmath>
5
6
34class FunctionMinEvalOp : public EvaluateOp
35{
36protected:
37 uint iFunction_;
38public:
39 FitnessP evaluate(IndividualP individual);
40 void registerParameters(StateP);
41 bool initialize(StateP);
42};
43typedef boost::shared_ptr<FunctionMinEvalOp> FunctionMinEvalOpP;
44
45#endif /* FUNCTIONMINEVALOP_H_ */
Evaluation base class.
Definition: EvaluateOp.h:17
Function minimization evaluation class.
FitnessP evaluate(IndividualP individual)
Evaluate a single individual. Method must create and return a Fitness object.
uint iFunction_
function index
void registerParameters(StateP)
Register evaluator parameters. Called before EvaluateOp::initialize method.
bool initialize(StateP)
Initialize the evaluator. Called before first evaluation occurs.