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. | |
bool | initialize (StateP) |
Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used! | |
bool | operate (StateP) |
perform the designated operation | |
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.
bool TermStagnationOp::initialize | ( | StateP | ) | [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.