ECF 1.5
Public Member Functions | Protected Attributes | List of all members

Termination operator: terminates on a given fitness value. More...

#include <TermFitnessValOp.h>

Inheritance diagram for TermFitnessValOp:
Operator

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

double termValue_
 

Detailed Description

Termination operator: terminates on a given fitness value.

Definition at line 8 of file TermFitnessValOp.h.

Member Function Documentation

◆ initialize()

bool TermFitnessValOp::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 13 of file TermFitnessValOp.cpp.

◆ operate()

bool TermFitnessValOp::operate ( StateP  )
virtual

perform the designated operation

Implements Operator.

Definition at line 25 of file TermFitnessValOp.cpp.

◆ registerParameters()

void TermFitnessValOp::registerParameters ( StateP  )
virtual

Register parameters with the Registry. Called before Operator::initialize.

Reimplemented from Operator.

Definition at line 5 of file TermFitnessValOp.cpp.

Member Data Documentation

◆ termValue_

double TermFitnessValOp::termValue_
protected

Definition at line 16 of file TermFitnessValOp.h.


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