pub struct Config {
pub initial: usize,
pub crossover_rate: f64,
pub mutation_rate: f64,
pub batch: usize,
}Expand description
Parameters of a MapElites run.
Fields§
§initial: usizeThe number of random genomes evaluated before variation starts, at least 1.
crossover_rate: f64The probability that an offspring comes from crossover of two random elites.
mutation_rate: f64The probability that an offspring is mutated.
batch: usizeOffspring per reported generation (only affects Stats::generations and events).
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