ECF 1.5
AlgAEliGPEA2.h
1#ifndef AlgAEliGPEA2_h
2#define AlgAEliGPEA2_h
3
4#include "ParallelAlgorithm.h"
5
9class AlgAEliGpea2 : public Algorithm
10{
11public:
13 bool advanceGeneration(StateP state, DemeP deme);
14 bool initialize(StateP state);
15 void registerParameters(StateP state);
16
17protected:
18 uint jobSize; // no. of individuals in a single job
19 std::vector<IndividualP> myJob;
20 uint nTournament; // tournament size
21};
22typedef boost::shared_ptr<AlgAEliGpea2> AlgAEliGpea2P;
23
24#endif // AlgAEliGPEA2_h
Asynchronous elimination global parallel algorithm (outdated version)
Definition: AlgAEliGPEA2.h:10
bool advanceGeneration(StateP state, DemeP deme)
Perform a single generation on a single deme.
void registerParameters(StateP state)
Register algorithm's parameters (if any).
bool initialize(StateP state)
Initialize the algorithm, read parameters from the system, do a sanity check.
Algorithm base class.
Definition: Algorithm.h:20