Struct zero_sum::impls::tak::evaluator::StaticEvaluator
[−]
[src]
pub struct StaticEvaluator;
Provides a static evaluation of a tak state. This evaluator considers top-level pieces, stacked flatstones, road-group size, one-away threats, and stack influence.
Trait Implementations
impl Clone for StaticEvaluator
[src]
fn clone(&self) -> StaticEvaluator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Evaluator for StaticEvaluator
[src]
type State = State
type Evaluation = Evaluation
fn evaluate(&self, state: &State) -> 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