pub enum Recombination {
Intermediate,
Discrete,
}Expand description
How the object variables of the ρ parents are combined.
Variants§
Intermediate
The centroid of the ρ parents (step sizes: arithmetic mean).
Discrete
Each coordinate (and its step size) from a uniformly chosen parent.
Trait Implementations§
Source§impl Clone for Recombination
impl Clone for Recombination
impl Copy for Recombination
Source§impl Debug for Recombination
impl Debug for Recombination
impl Eq for Recombination
Source§impl PartialEq for Recombination
impl PartialEq for Recombination
impl StructuralPartialEq for Recombination
Auto Trait Implementations§
impl Forget for Recombination
impl Freeze for Recombination
impl Move for Recombination
impl RefUnwindSafe for Recombination
impl Send for Recombination
impl Sync for Recombination
impl Unpin for Recombination
impl UnsafeUnpin for Recombination
impl UnwindSafe for Recombination
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