pub trait Selection {
// Required method
fn select<R: Rng + ?Sized>(
&mut self,
costs: &[f64],
count: usize,
rng: &mut R,
out: &mut Vec<usize>,
);
}Expand description
Picks parent indices from a population, given the population’s costs.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".