pub enum CrossoverStrategy {
Uniform,
SinglePoint,
MultiPoint(usize),
OrderBased,
}Expand description
Crossover strategy for breeding chromosomes.
Variants§
Trait Implementations§
Source§impl Clone for CrossoverStrategy
impl Clone for CrossoverStrategy
Source§fn clone(&self) -> CrossoverStrategy
fn clone(&self) -> CrossoverStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CrossoverStrategy
impl Debug for CrossoverStrategy
Source§impl PartialEq for CrossoverStrategy
impl PartialEq for CrossoverStrategy
Source§fn eq(&self, other: &CrossoverStrategy) -> bool
fn eq(&self, other: &CrossoverStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CrossoverStrategy
impl Eq for CrossoverStrategy
impl StructuralPartialEq for CrossoverStrategy
Auto Trait Implementations§
impl Freeze for CrossoverStrategy
impl RefUnwindSafe for CrossoverStrategy
impl Send for CrossoverStrategy
impl Sync for CrossoverStrategy
impl Unpin for CrossoverStrategy
impl UnsafeUnpin for CrossoverStrategy
impl UnwindSafe for CrossoverStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.