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_ |
Definition at line 38 of file main.cpp.
bool MyAlg::advanceGeneration | ( | StateP | , | |
DemeP | ||||
) | [inline, virtual] |
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.