Trait minimax::interface::Evaluator[][src]

pub trait Evaluator {
    type G: Game;
    fn evaluate(s: &<Self::G as Game>::S) -> Evaluation;
}

Evaluates a game's positions.

Associated Types

type G: Game[src]

The type of game that can be evaluated.

Loading content...

Required methods

fn evaluate(s: &<Self::G as Game>::S) -> Evaluation[src]

Evaluate the non-terminal state from the persective of the player to move next.

Loading content...

Implementors

Loading content...