GeneralSelect Class Reference
[Genetic algorithm optimization]

GeneralSelect is the abstract base class for any selection mechanism in genetic algorithms. More...

#include <GeneralSelect.h>

Inheritance diagram for GeneralSelect:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void Init ()
size_t GetOne ()
 GeneralSelect ()
virtual ~GeneralSelect ()


Detailed Description

GeneralSelect is the abstract base class for any selection mechanism in genetic algorithms.

GeneralSelect defines to abstract functions: Init and GetOne. Init has to be called once per iteration and sets all the necessary parameters depending on probabilities and crowding distance GetOne then returns the index of a selected population member and is called every time a population member has to be selected by a selection operator. There is no default implementation !

Definition at line 15 of file GeneralSelect.h.


Constructor & Destructor Documentation

GeneralSelect::GeneralSelect (  ) 

Definition at line 4 of file GeneralSelect.cpp.

GeneralSelect::~GeneralSelect (  )  [virtual]

Definition at line 8 of file GeneralSelect.cpp.


Member Function Documentation

size_t GeneralSelect::GetOne (  ) 

Definition at line 11 of file GeneralSelect.cpp.

Referenced by StandardPropagation::NextGeneration().

void GeneralSelect::Init (  )  [inline]

Definition at line 23 of file GeneralSelect.h.

Referenced by StandardPropagation::NextGeneration().


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

Generated on Tue Aug 4 16:04:19 2009 for GPLIB++ by  doxygen 1.5.8