pub trait SelectionOperator: GeneticOperator {
// Required method
fn select_from<'a, G, R>(
&self,
population: &'a Population<G>,
rng: &mut R,
) -> Vec<Member<'a, G>>
where G: Genome,
R: Rng + Sized;
}Expand description
For selecting individuals from population.
Required Methods§
Sourcefn select_from<'a, G, R>(
&self,
population: &'a Population<G>,
rng: &mut R,
) -> Vec<Member<'a, G>>
fn select_from<'a, G, R>( &self, population: &'a Population<G>, rng: &mut R, ) -> Vec<Member<'a, G>>
Select some members from population.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".