Trait Mutate
Source pub trait Mutate<C: Chromosome>: Send + Sync {
// Provided methods
fn name(&self) -> String { ... }
fn update(&self, _: usize) { ... }
fn rate(&self) -> f32 { ... }
fn alterer(self) -> AlterAction<C>
where Self: Sized + 'static { ... }
fn mutate(
&self,
population: &mut Population<C>,
generation: usize,
rate: f32,
) -> AlterResult { ... }
fn mutate_genotype(
&self,
genotype: &mut Genotype<C>,
rate: f32,
) -> AlterResult { ... }
fn mutate_chromosome(&self, chromosome: &mut C, rate: f32) -> AlterResult { ... }
fn mutate_gene(&self, gene: &C::Gene) -> C::Gene { ... }
}