Package io.jenetics

Class StochasticUniversalSelector<G extends Gene<?,​G>,​N extends Number & Comparable<? super N>>

  • All Implemented Interfaces:
    Selector<G,​N>

    public class StochasticUniversalSelector<G extends Gene<?,​G>,​N extends Number & Comparable<? super N>>
    extends RouletteWheelSelector<G,​N>
    StochasticUniversalSelector is a method for selecting a population according to some given probability in a way that minimize chance fluctuations. It can be viewed as a type of roulette game where now we have P equally spaced points which we spin.

    Selector

    The figure above shows how the stochastic-universal selection works; n is the number of individuals to select.
    Since:
    1.0
    Version:
    5.0
    See Also:
    Wikipedia: Stochastic universal sampling