[−][src]Trait optlib::genetic::Logger
The trait for logging of genetic algorithm.
T
- type of a point in the search space for goal function (chromosomes).
Provided methods
fn start(&mut self, _population: &Population<T>)
Will be called after population initializing.
fn resume(&mut self, _population: &Population<T>)
Will be called before run algorithm (possibly after result algorithm after pause).
fn next_iteration(&mut self, _population: &Population<T>)
Will be called in the end of iteration (after selection).
fn finish(&mut self, _population: &Population<T>)
Will be called when algorithm will be stopped.