Skip to main content

evaluate_paths

Function evaluate_paths 

Source
pub fn evaluate_paths<X, Y, E>(
    evaluator: &E,
    sim: &Simulator<X, Y>,
    exit: &ExitPolicy,
) -> Result<Vec<E::Outcome>, E::Error>
Expand description

Runs evaluator over every walk in sim, in order.

The result has one entry per walk. The first evaluation failure aborts the run; partial results are not returned.

ยงErrors

Propagates the first error returned by PathEvaluator::evaluate_path.