pub trait SelectionOp<G, F>: GeneticOperator where
    G: Genotype,
    F: Fitness
{ fn select_from<R>(
        &self,
        population: &EvaluatedPopulation<G, F>,
        rng: &mut R
    ) -> Vec<Parents<G>>
    where
        R: Rng + Sized
; }
Expand description

A SelectionOp defines the function of how to select solutions for being the parents of the next generation.

Required methods

Selects individuals from the given population according to the implemented selection strategy.

Implementors