[−][src]Trait optlib::genetic::Selection
The trait with selection algorithm.
T
- type of a point in the search space for goal function (chromosomes).
Required methods
fn kill(&mut self, population: &mut Population<T>)
The method kills bad individuals. The method must call Individual::kill()
method for
individuals which will not go to next generation.