pub enum CrossoverMethod {
SinglePoint,
Uniform,
}Expand description
How crossover is performed.
Variants§
SinglePoint
Single-point crossover at a random cut.
Uniform
Uniform crossover — each position picked randomly from either parent.
Trait Implementations§
Source§impl Clone for CrossoverMethod
impl Clone for CrossoverMethod
Auto Trait Implementations§
impl Freeze for CrossoverMethod
impl RefUnwindSafe for CrossoverMethod
impl Send for CrossoverMethod
impl Sync for CrossoverMethod
impl Unpin for CrossoverMethod
impl UnsafeUnpin for CrossoverMethod
impl UnwindSafe for CrossoverMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more