ECF 1.5
TermMaxEvalOp.h
1#ifndef TermMaxEvalOp_H
2#define TermMaxEvalOp_h
3
8class TermMaxEvalOp : public Operator
9{
10public:
11 void registerParameters(StateP);
12 bool initialize(StateP);
13 bool operate(StateP);
14protected:
15 uint nEvaluations_;
16};
17typedef boost::shared_ptr<TermMaxEvalOp> TermMaxEvalOpP;
18
19#endif // TermMaxEvalOp
Abstract operator class.
Definition: Operator.h:11
Termination operator: terminates on a given number of fitness evaluations.
Definition: TermMaxEvalOp.h:9
bool initialize(StateP)
Perform initialization. Called before Operator::operate. By default, if the return value is false,...
void registerParameters(StateP)
Register parameters with the Registry. Called before Operator::initialize.
bool operate(StateP)
perform the designated operation