pub struct SimpleGeneticAlgorithmCfg {
pub d_seed: GASeed,
pub pconv: f32,
pub is_min: bool,
pub max_generations: i32,
pub flags: GAFlags,
pub probability_crossover: f32,
pub probability_mutation: f32,
pub elitism: bool,
}Fields§
§d_seed: GASeed§pconv: f32§is_min: bool§max_generations: i32§flags: GAFlags§probability_crossover: f32§probability_mutation: f32§elitism: boolTrait Implementations§
Source§impl Clone for SimpleGeneticAlgorithmCfg
impl Clone for SimpleGeneticAlgorithmCfg
Source§fn clone(&self) -> SimpleGeneticAlgorithmCfg
fn clone(&self) -> SimpleGeneticAlgorithmCfg
Returns a duplicate 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 Debug for SimpleGeneticAlgorithmCfg
impl Debug for SimpleGeneticAlgorithmCfg
Source§impl Default for SimpleGeneticAlgorithmCfg
impl Default for SimpleGeneticAlgorithmCfg
Source§fn default() -> SimpleGeneticAlgorithmCfg
fn default() -> SimpleGeneticAlgorithmCfg
Returns the “default value” for a type. Read more
Source§impl GAConfig for SimpleGeneticAlgorithmCfg
impl GAConfig for SimpleGeneticAlgorithmCfg
impl Copy for SimpleGeneticAlgorithmCfg
Auto Trait Implementations§
impl Freeze for SimpleGeneticAlgorithmCfg
impl RefUnwindSafe for SimpleGeneticAlgorithmCfg
impl Send for SimpleGeneticAlgorithmCfg
impl Sync for SimpleGeneticAlgorithmCfg
impl Unpin for SimpleGeneticAlgorithmCfg
impl UnwindSafe for SimpleGeneticAlgorithmCfg
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