Public Member Functions | Protected Attributes

Elimination Class Reference

Elimination (generation gap) algorithm with roulette wheel elimination selection operator. More...

#include <AlgElimination.h>

Inheritance diagram for Elimination:
Algorithm

List of all members.

Public Member Functions

bool advanceGeneration (StateP state, DemeP deme)
bool initialize (StateP state)
void registerParameters (StateP state)

Protected Attributes

double genGap_
 generation gap
double selPressure_
 selection pressure
SelFitnessProportionalOpP selFitPropOp
SelRandomOpP selRandomOp
SelBestOpP selBestOp

Detailed Description

Elimination (generation gap) algorithm with roulette wheel elimination selection operator.

Definition at line 9 of file AlgElimination.h.


Member Function Documentation

bool Elimination::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 48 of file AlgElimination.cpp.

bool Elimination::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 23 of file AlgElimination.cpp.

void Elimination::registerParameters ( StateP   )  [virtual]

Register algorithm's parameters (if any).

Called by the system before algorithm initialization (Algorithm::initialize)

Reimplemented from Algorithm.

Definition at line 16 of file AlgElimination.cpp.


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