Trait zero_sum::analysis::Evaluatable
[−]
[src]
pub trait Evaluatable<E> where E: Evaluation { fn evaluate(&self) -> E; fn evaluate_plies<P, R>(&self, plies: &[P]) -> E where P: Ply, R: Resolution, Self: State<P, R> { ... } }
Provides evaluation capabilities.
This is usually implemented on a State
.
Required Methods
fn evaluate(&self) -> E
Returns the evaluation of the current state.
Provided Methods
fn evaluate_plies<P, R>(&self, plies: &[P]) -> E where P: Ply, R: Resolution, Self: State<P, R>
Returns the evaluation of the state after executing plies
.
Panics
Will panic if the execution of any ply in plies
causes an error.