#include <Selection_RouletteWheel.h>

Public Member Functions | |
| virtual vector< Chromosome< T > * > | select (vector< Chromosome< T > * > &individuals, unsigned int nSelect) |
| Implementation of the selection strategy. | |
Chance that an individual is selected is proportioned to its scaled fitness value.
| vector< Chromosome< T > * > Selection_RouletteWheel< T >::select | ( | vector< Chromosome< T > * > & | individuals, | |
| unsigned int | nSelect | |||
| ) | [inline, virtual] |
Implementation of the selection strategy.
| individuals | Set of individuals to be selected from | |
| nSelect | Number of individuals to be selected |
Reimplemented from Selection< T >.
1.5.6