Public Member Functions

Operator Class Reference
[Evolutionary FrameworkMain Classes]

Abstract operator class. More...

#include <Operator.h>

Inheritance diagram for Operator:
HallOfFame Migration MutationRate MutationRate Seed StatCalc TermFitnessValOp TermMaxEvalOp TermMaxGenOp TermMaxTimeOp TermStagnationOp WriteTT

List of all members.

Public Member Functions

virtual bool operate (StateP)=0
 perform the designated operation
virtual bool initialize (StateP)
 Perform initialization. Called before Operator::operate. By default, if the return value is false, the operator will not be used!
virtual void registerParameters (StateP)
 Register parameters with the Registry. Called before Operator::initialize.
virtual void write (XMLNode &)
 Write operator state to XMLNode or the Registry. Called after Operator::initialize.
virtual void read (XMLNode &)
 Read operator state from XMLNode or the Registry. Called after Operator::initialize.

Detailed Description

Abstract operator class.

Encapsulates calls to parameter registration, initialization and operation.

Definition at line 10 of file Operator.h.


Member Function Documentation

virtual bool Operator::initialize ( StateP   )  [inline, 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 in HallOfFame, Migration, StatCalc, TermFitnessValOp, TermMaxEvalOp, TermMaxGenOp, TermMaxTimeOp, TermStagnationOp, MutationRate, WriteTT, MutationRate, and Seed.

Definition at line 20 of file Operator.h.


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