Synchronous generational global parallel algorithm. More...
#include <AlgSGenGPEA.h>
Public Member Functions | |
| bool | advanceGeneration (StateP state, DemeP deme) |
| Perform a single generation on a single deme. | |
| bool | initialize (StateP state) |
| Initialize the algorithm, read parameters from the system, do a sanity check. | |
| void | registerParameters (StateP state) |
| Register algorithm's parameters (if any). | |
Protected Attributes | |
| uint | jobSize |
| std::vector< IndividualP > | myJob |
| double | crxRate |
| double | selPressure |
| SelFitnessProportionalOpP | selFitPropOp |
| SelRandomOpP | selRandomOp |
| SelBestOpP | selBestOp |
Synchronous generational global parallel algorithm.
Definition at line 10 of file AlgSGenGPEA.h.
| bool AlgSGenGpea::advanceGeneration | ( | StateP | , | |
| DemeP | ||||
| ) | [virtual] |
Perform a single generation on a single deme.
Must be implemented by a specific algorithm class
Implements Algorithm.
Definition at line 56 of file AlgSGenGPEA.cpp.
| bool AlgSGenGpea::initialize | ( | StateP | ) | [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 32 of file AlgSGenGPEA.cpp.
| void AlgSGenGpea::registerParameters | ( | StateP | ) | [virtual] |
Register algorithm's parameters (if any).
Called by the system before algorithm initialization (Algorithm::initialize)
Reimplemented from Algorithm.
Definition at line 19 of file AlgSGenGPEA.cpp.
1.7.1