Struct zero_sum::impls::tic_tac_toe::Evaluator
[−]
[src]
pub struct Evaluator;
A very simple evaluator. Gives extra weight to the corners.
Trait Implementations
impl Evaluator for Evaluator
[src]
type State = Board
type Evaluation = Evaluation
fn evaluate(&self, state: &Board) -> Evaluation
Returns the evaluation of state
.
fn evaluate_plies(
&self,
state: &Self::State,
plies: &[<Self::State as State>::Ply]
) -> Self::Evaluation
&self,
state: &Self::State,
plies: &[<Self::State as State>::Ply]
) -> Self::Evaluation
Returns the evaluation of state
after executing plies
. Read more