pub trait Evaluator: Send {
    fn evaluate(&mut self, next_step: u64) -> Result<(u64, Values)>;
}
Expand description

This trait allows evaluating a parameter set of a problem.

Required Methods

Procedes the evaluation of the parameter set given to Problem::create_evaluator method until reaches to `next_step..

The first element of the result tuple means the current step of the evaluation. Although it’s desirable that the current step matches to next_step, it’s allowed to exceed next_step.

Implementations on Foreign Types

Implementors