Trait zero_sum::analysis::Evaluator [] [src]

pub trait Evaluator {
    type State: State;
    type Evaluation: Evaluation;
    fn evaluate(&self, state: &Self::State) -> Self::Evaluation;

    fn evaluate_plies(
        &self,
        state: &Self::State,
        plies: &[<Self::State as State>::Ply]
    ) -> Self::Evaluation { ... } }

Evaluates a State.

Associated Types

Required Methods

Returns the evaluation of state.

Provided Methods

Returns the evaluation of state after executing plies.

Panics

Will panic if the execution of any ply in plies causes an error.

Implementors