SelectionOperator

Trait SelectionOperator 

Source
pub trait SelectionOperator {
    // Required method
    fn select(&self, population: &[Solution], n_select: usize) -> Vec<Solution> ;
}
Expand description

Trait for selection operators

Required Methods§

Source

fn select(&self, population: &[Solution], n_select: usize) -> Vec<Solution>

Select individuals from population

Implementors§