Trait ew::tools::logging::Logger [−][src]
The logging trait for algorithm with the agents.
T
- type of a point in the search space for goal function.
Provided methods
fn start(&mut self, _state: &dyn AlgorithmState<T>)
[src]
Will be called after algorithm initializing.
fn resume(&mut self, _state: &dyn AlgorithmState<T>)
[src]
Will be called before run algorithm (possibly after result algorithm after pause).
fn next_iteration(&mut self, _state: &dyn AlgorithmState<T>)
[src]
Will be called in the end of iteration.
fn finish(&mut self, _state: &dyn AlgorithmState<T>)
[src]
Will be called when algorithm will be stopped.
Implementors
impl<'a, T: Clone> Logger<T> for StatisticsLogger<'a, T>
[src]
fn start(&mut self, _state: &dyn AlgorithmState<T>)
[src]
Will be called after algorithm initializing.
fn resume(&mut self, _state: &dyn AlgorithmState<T>)
[src]
Will be called before run algorithm (possibly after result algorithm after pause).
fn next_iteration(&mut self, state: &dyn AlgorithmState<T>)
[src]
Will be called in the end of iteration.
fn finish(&mut self, state: &dyn AlgorithmState<T>)
[src]
Will be called when algorithm will be stopped.