Trait metaheuristics_nature::Solver[][src]

pub trait Solver<F: ObjFunc>: Algorithm<F> {
    fn history(&self) -> Vec<Report> { ... }
fn result(&self) -> (Vec<f64>, f64) { ... }
fn run(&mut self) -> F::Result { ... } }

The public API for Algorithm.

Provided methods

fn history(&self) -> Vec<Report>[src]

Get the history for plotting.

fn result(&self) -> (Vec<f64>, f64)[src]

Return the x and y of function. The algorithm must be executed once.

fn run(&mut self) -> F::Result[src]

Start the algorithm and return the final result.

Loading content...

Implementors

impl<F, T> Solver<F> for T where
    F: ObjFunc,
    T: Algorithm<F>, 
[src]

Loading content...