[][src]Trait kurobako_core::problem::Evaluator

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

This trait allows evaluating a parameter set of a problem.

Required methods

fn evaluate(&mut self, next_step: u64) -> Result<(u64, Values)>

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.

Loading content...

Implementations on Foreign Types

impl<T: Evaluator + ?Sized> Evaluator for Box<T>[src]

Loading content...

Implementors

impl Evaluator for EmbeddedScriptEvaluator[src]

impl Evaluator for ExternalProgramEvaluator[src]

impl Evaluator for BoxEvaluator[src]

Loading content...