Struct genetic_planner::genetic_planner::PlannerConfiguration [] [src]

pub struct PlannerConfiguration {
    pub max_actions: usize,
    pub population_size: usize,
    pub elitism_size: usize,
    pub tournmant_size: usize,
    pub uniform_rate: f32,
    pub mutation_rate: f32,
    pub threadpool_size: usize,
}

Contains the configuration of the Planner

Fields

Max number of actions

Number of the Individual in the Population

Number of Individual to copy in the next generation

Size of the set used to select the parentof the offsprings

Parameter used by the crossover function

Parameter used by the mutate function

Number of thread used in the evolve function