Function genomic::mutate

source ·
pub fn mutate<G: Genome>(individual: &mut G, rate: f64, rng: &mut impl Rng)
Expand description

Mutates all of the chromosomes in genome with a rate of rate.

A rate of 1.0 means that the chromosomes will be fully scrambled, while a rate of 0.0 means that they should not change.