Struct programinduction::GPParams[][src]

pub struct GPParams {
    pub population_size: usize,
    pub tournament_size: usize,
    pub mutation_prob: f64,
    pub n_delta: usize,
}

Parameters for genetic programming.

Fields

Probability for a mutation. If mutation doesn't happen, the crossover will happen.

The number of new children added to the population with each step of evolution. Traditionally, this would be set to 1. If it is larger than 1, mutations and crossover will be repeated until the threshold of n_delta is met.

Auto Trait Implementations

impl Send for GPParams

impl Sync for GPParams