Public Member Functions | Protected Attributes

AlgSGenGpea Class Reference
[AlgorithmsParallel algorithms]

Synchronous generational global parallel algorithm. More...

#include <AlgSGenGPEA.h>

Inheritance diagram for AlgSGenGpea:
ParallelAlgorithm Algorithm

List of all members.

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

Detailed Description

Synchronous generational global parallel algorithm.

Definition at line 10 of file AlgSGenGPEA.h.


Member Function Documentation

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.


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