ECF 1.5
TermStagnationOp.h
1#ifndef TermStagnationOp_H
2#define TermStagnationOp_H
3
9{
10public:
11 void registerParameters(StateP);
12 bool initialize(StateP);
13 bool operate(StateP);
14protected:
15 uint termStagnation_;
16};
17typedef boost::shared_ptr<TermStagnationOp> TermStagnationOpP;
18
19#endif // TermStagnationOp_H
Abstract operator class.
Definition: Operator.h:11
Termination operator: terminates when no improvement occurs in best individual for a given number of ...
void registerParameters(StateP)
Register parameters with the Registry. Called before Operator::initialize.
bool operate(StateP)
perform the designated operation
bool initialize(StateP)
Perform initialization. Called before Operator::operate. By default, if the return value is false,...