ECF 1.5
FunctionMinEvalOp.h
1#ifndef CECFUNCTIONMINEVALOP_H_
2#define CECFUNCTIONMINEVALOP_H_
3
4#include <cmath>
5
6
42{
43public:
45
46public:
48 { }
49 FitnessP evaluate(IndividualP individual);
50 void registerParameters(StateP);
51 bool initialize(StateP);
52};
53typedef boost::shared_ptr<FunctionMinEvalOp> FunctionMinEvalOpP;
54
55#endif /* CECFUNCTIONMINEVALOP_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.