pub trait Crossover<G> {
// Required method
fn crossover<R: Rng + ?Sized>(
&mut self,
a: &G,
b: &G,
rng: &mut R,
) -> [G; 2];
}Expand description
Produces two children from two parents.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".