[][src]Trait optlib::AlgorithmState

pub trait AlgorithmState<T> {
    fn get_best_solution(&self) -> Option<(T, f64)>;
fn get_iteration(&self) -> usize; }

Required methods

fn get_best_solution(&self) -> Option<(T, f64)>

fn get_iteration(&self) -> usize

Loading content...

Implementors

impl<T: Clone + Debug> AlgorithmState<Vec<T>> for Swarm<T>[src]

impl<T: Clone> AlgorithmState<T> for Population<T>[src]

Loading content...