Public Member Functions | Protected Attributes

Elimination Class Reference
[AlgorithmsSequential algorithms]

Elimination (generation gap) algorithm with roulette wheel elimination selection operatorThis algorithm is genotype independent (it can be used with any Genotype). More...

#include <AlgElimination.h>

Inheritance diagram for Elimination:
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

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

This algorithm is genotype independent (it can be used with any Genotype).

The algorithm flow:

  single generation {
   eliminate (genGap * deme_size) individuals from current generation (inverse fitness proportional selection operator);
   create new individuals with crossover (random selection);
   perform mutation on new generation;
  }
 

Definition at line 25 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 49 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 25 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: