ECF 1.5
TermMaxGenOp.h
1#ifndef TermMaxGenOp_H
2#define TermMaxGenOp_H
3
8class TermMaxGenOp : public Operator
9{
10public:
11 void registerParameters(StateP);
12 bool initialize(StateP);
13 bool operate(StateP);
14protected:
15 uint nGenerations_;
16};
17typedef boost::shared_ptr<TermMaxGenOp> TermMaxGenOpP;
18
19#endif // TermMaxGenOp_H
Abstract operator class.
Definition: Operator.h:11
Termination operator: terminates on a given number of generations.
Definition: TermMaxGenOp.h:9
bool operate(StateP)
perform the designated operation
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.
Definition: TermMaxGenOp.cpp:5