pub enum Acceptance {
Always,
LocalLeast,
BetterParent,
LocalElitist,
}Expand description
When the best offspring of a mating replaces the individual at the deme’s centre.
Variants§
Always
Always.
LocalLeast
If it is better than the worst individual of the deme (“local least”).
BetterParent
If it is better than the individual it replaces.
LocalElitist
If it is better than the deme’s worst, and, when the individual is the deme’s best, also better than it (“local elitist”); the default.
Trait Implementations§
Source§impl Clone for Acceptance
impl Clone for Acceptance
impl Copy for Acceptance
Source§impl Debug for Acceptance
impl Debug for Acceptance
impl Eq for Acceptance
Source§impl PartialEq for Acceptance
impl PartialEq for Acceptance
impl StructuralPartialEq for Acceptance
Auto Trait Implementations§
impl Forget for Acceptance
impl Freeze for Acceptance
impl Move for Acceptance
impl RefUnwindSafe for Acceptance
impl Send for Acceptance
impl Sync for Acceptance
impl Unpin for Acceptance
impl UnsafeUnpin for Acceptance
impl UnwindSafe for Acceptance
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