pub struct Config {
pub population_size: usize,
pub crossover_rate: f64,
pub mutation_rate: f64,
}Expand description
Parameters of an Nsga3 run.
Fields§
§population_size: usizeThe population size N, at least 2; about the number of reference points.
crossover_rate: f64The probability that a pair of parents is recombined.
mutation_rate: f64The probability that a child is mutated at all.
Implementations§
Trait Implementations§
impl Copy for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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