[−][src]Trait optlib::genetic::Mutation
The trait with mutation algorithm.
T
- type of a point in the search space for goal function (chromosomes).
Required methods
fn mutation(&mut self, chromosomes: &T) -> T
The method accepts reference to chromosomes of single individual and must return new chromosomes (possibly modified). New individuals will be created with the chromosomes after mutation.