Asynchronous elimination global parallel algorithm. More...
#include <AlgAEliGPEA.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). | |
| void | bcastTermination (StateP) |
| Parallel ECF: broadcast termination to worker processes. | |
Protected Member Functions | |
| IndividualP | performSingleTournament (DemeP deme) |
Protected Attributes | |
| uint | jobSize_ |
| std::vector< IndividualP > | myJob_ |
| worker's individual vector | |
| uint | nTournament_ |
Asynchronous elimination global parallel algorithm.
Definition at line 11 of file AlgAEliGPEA.h.
| bool AlgAEliGpea::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 73 of file AlgAEliGPEA.cpp.
| bool AlgAEliGpea::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 30 of file AlgAEliGPEA.cpp.
| void AlgAEliGpea::registerParameters | ( | StateP | ) | [virtual] |
Register algorithm's parameters (if any).
Called by the system before algorithm initialization (Algorithm::initialize)
Reimplemented from Algorithm.
Definition at line 20 of file AlgAEliGPEA.cpp.
1.7.1