pub struct LimitConfiguration {
pub problem_solving: ProblemSolving,
pub max_generations: i32,
pub fitness_target: Option<f64>,
pub get_best_individual_by_generation: bool,
pub population_size: i32,
pub genes_per_individual: i32,
pub needs_unique_ids: bool,
pub alleles_can_be_repeated: bool,
}
Fields§
§problem_solving: ProblemSolving
§max_generations: i32
§fitness_target: Option<f64>
§get_best_individual_by_generation: bool
§population_size: i32
§genes_per_individual: i32
§needs_unique_ids: bool
§alleles_can_be_repeated: bool
Trait Implementations§
source§impl Clone for LimitConfiguration
impl Clone for LimitConfiguration
source§fn clone(&self) -> LimitConfiguration
fn clone(&self) -> LimitConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for LimitConfiguration
impl Default for LimitConfiguration
impl Copy for LimitConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for LimitConfiguration
impl Send for LimitConfiguration
impl Sync for LimitConfiguration
impl Unpin for LimitConfiguration
impl UnwindSafe for LimitConfiguration
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