[−][src]Trait oxigen::selection::Selection
This trait defines the select function used to select individuals for crossover.
Required methods
pub fn select(&self, fitnesses: &[f64], selection_rate: usize) -> Vec<usize>
[src]
Returns a vector with the indices of the selected individuals according to the fitness of the population and the selection rate.