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