Implements selection of n candidates from a population by selecting n candidates at random where the probability of each candidate getting selected is proportional to its fitness score. This is analogous to each candidate being assigned an area on a roulette wheel proportionate to its fitness and the wheel being spun
In some instances, particularly with small population sizes, the randomness of selection may result in excessively high occurrences of particular candidates. If this is a problem, {@link StochasticUniversalSampling} provides an alternativefitness-proportionate strategy for selection.
@author Daniel Dyer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|