Trait ga::traits::Chromosome [] [src]

pub trait Chromosome {
    fn genesis(&self, rng: &mut Rng) -> Self;
fn mutate(&self, rng: &mut Rng) -> Self;
fn mutate_mut(&mut self, rng: &mut Rng); }

A single unit of mutation

Required Methods

Create a Chromosome

Mutate the Chromosome randomly

Mutate the Chromosome in place randomly

Implementors