Public Member Functions | Protected Attributes

MyAlg Class Reference

Inheritance diagram for MyAlg:
Algorithm

List of all members.

Public Member Functions

bool initialize (StateP state)
 Initialize the algorithm, read parameters from the system, do a sanity check.
bool advanceGeneration (StateP state, DemeP deme)
 Perform a single generation on a single deme.

Protected Attributes

SelFitnessProportionalOpP selFitOp_
SelWorstOpP selWorstOp_

Detailed Description

Definition at line 38 of file main.cpp.


Member Function Documentation

bool MyAlg::advanceGeneration ( StateP  ,
DemeP   
) [inline, virtual]

Perform a single generation on a single deme.

Must be implemented by a specific algorithm class

Implements Algorithm.

Definition at line 62 of file main.cpp.

bool MyAlg::initialize ( StateP   )  [inline, virtual]

Initialize the algorithm, read parameters from the system, do a sanity check.

Called by the system before the algorithm starts (Algorithm::advanceGeneration)

Reimplemented from Algorithm.

Definition at line 52 of file main.cpp.


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