ECF 1.5
|
Termination operator: terminates when no improvement occurs in best individual for a given number of generations. More...
#include <TermStagnationOp.h>
Public Member Functions | |
void | registerParameters (StateP) |
Register parameters with the Registry. Called before Operator::initialize. More... | |
bool | initialize (StateP) |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used! More... | |
bool | operate (StateP) |
perform the designated operation More... | |
Public Member Functions inherited from Operator | |
virtual bool | operate (StateP)=0 |
perform the designated operation More... | |
virtual bool | initialize (StateP) |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used! More... | |
virtual void | registerParameters (StateP) |
Register parameters with the Registry. Called before Operator::initialize. More... | |
virtual void | write (XMLNode &) |
Write operator state to XMLNode or the Registry. Called after Operator::initialize. More... | |
virtual void | read (XMLNode &) |
Read operator state from XMLNode or the Registry. Called after Operator::initialize. More... | |
Protected Attributes | |
uint | termStagnation_ |
Termination operator: terminates when no improvement occurs in best individual for a given number of generations.
Definition at line 8 of file TermStagnationOp.h.
|
virtual |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used!
Reimplemented from Operator.
Definition at line 14 of file TermStagnationOp.cpp.
|
virtual |
perform the designated operation
Implements Operator.
Definition at line 37 of file TermStagnationOp.cpp.
|
virtual |
Register parameters with the Registry. Called before Operator::initialize.
Reimplemented from Operator.
Definition at line 6 of file TermStagnationOp.cpp.
|
protected |
Definition at line 15 of file TermStagnationOp.h.