pub struct Config {
pub population_size: usize,
pub max_len: usize,
pub decoding: Decoding,
pub repair: RepairMode,
}Expand description
Parameters of solve.
Fields§
§population_size: usizeThe GA population size.
max_len: usizeThe longest chain.
decoding: DecodingThe decoding rule.
repair: RepairModeThe genotypic repair applied to every child.
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