pub trait IterativeOptimizer<T> {
// Required method
fn next_iterations(&mut self) -> Option<(T, f64)>;
}Expand description
The trait for iterative algorithms.
T - type of a point in search space for goal function.
Required Methods§
Sourcefn next_iterations(&mut self) -> Option<(T, f64)>
fn next_iterations(&mut self) -> Option<(T, f64)>
The method can be called after algorithm initialization.