Public Member Functions | Protected Attributes

TermStagnationOp Class Reference
[Evolutionary FrameworkTermination Operators]

Termination operator: terminates when no improvement occurs in best individual for a given number of generations. More...

#include <TermStagnationOp.h>

Inheritance diagram for TermStagnationOp:
Operator

List of all members.

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_

Detailed Description

Termination operator: terminates when no improvement occurs in best individual for a given number of generations.

Definition at line 8 of file TermStagnationOp.h.


Member Function Documentation

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!

Returns:
initialization success

Reimplemented from Operator.

Definition at line 14 of file TermStagnationOp.cpp.


The documentation for this class was generated from the following files: