Struct genetic_algorithm::strategy::permutate::PermutateConfig
source · pub struct PermutateConfig {
pub fitness_ordering: FitnessOrdering,
pub par_fitness: bool,
pub replace_on_equal_fitness: bool,
}Fields§
§fitness_ordering: FitnessOrdering§par_fitness: bool§replace_on_equal_fitness: boolImplementations§
Trait Implementations§
source§impl Default for PermutateConfig
impl Default for PermutateConfig
source§impl Display for PermutateConfig
impl Display for PermutateConfig
source§impl StrategyConfig for PermutateConfig
impl StrategyConfig for PermutateConfig
fn fitness_ordering(&self) -> FitnessOrdering
fn par_fitness(&self) -> bool
fn replace_on_equal_fitness(&self) -> bool
Auto Trait Implementations§
impl Freeze for PermutateConfig
impl RefUnwindSafe for PermutateConfig
impl Send for PermutateConfig
impl Sync for PermutateConfig
impl Unpin for PermutateConfig
impl UnwindSafe for PermutateConfig
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more