pub struct Config {
pub mu: usize,
pub rho: usize,
pub lambda: usize,
pub survival: Survival,
pub step_sizes: StepSizes,
pub recombination: Recombination,
pub initial_sigma: f64,
pub min_sigma: f64,
}Expand description
Parameters of an Es run.
Fields§
§mu: usizeThe number of parents μ, at least 1.
rho: usizeThe number of parents recombined per offspring, 1..=mu.
lambda: usizeThe number of offspring λ per generation; at least μ for Survival::Comma.
survival: SurvivalComma or plus selection.
step_sizes: StepSizesGlobal or per-coordinate step sizes.
recombination: RecombinationIntermediate or discrete recombination.
initial_sigma: f64The initial step size, as a fraction of each coordinate’s bound width.
min_sigma: f64Step sizes never fall below this (absolute); prevents premature collapse to zero.
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