Selection_RouletteWheel< T > Class Template Reference

Implementation of the biased roulette wheel selection. More...

#include <Selection_RouletteWheel.h>

Inheritance diagram for Selection_RouletteWheel< T >:

Selection< T >

List of all members.

Public Member Functions

virtual vector< Chromosome< T > * > select (vector< Chromosome< T > * > &individuals, unsigned int nSelect)
 Implementation of the selection strategy.


Detailed Description

template<typename T>
class Selection_RouletteWheel< T >

Implementation of the biased roulette wheel selection.

Chance that an individual is selected is proportioned to its scaled fitness value.

See also:
Selection

Member Function Documentation

template<typename T>
vector< Chromosome< T > * > Selection_RouletteWheel< T >::select ( vector< Chromosome< T > * > &  individuals,
unsigned int  nSelect 
) [inline, virtual]

Implementation of the selection strategy.

Parameters:
individuals Set of individuals to be selected from
nSelect Number of individuals to be selected
See also:
Chromosome

Reimplemented from Selection< T >.


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

Generated on Thu Aug 28 18:34:53 2008 for Dolphin by  doxygen 1.5.6