EvaluationComponent

Trait EvaluationComponent 

Source
pub trait EvaluationComponent {
    // Required methods
    fn evaluate(&self, board: &Board) -> i32;
    fn component_name(&self) -> &'static str;
}
Expand description

Interface for evaluation components (Interface Segregation Principle)

Required Methods§

Source

fn evaluate(&self, board: &Board) -> i32

Source

fn component_name(&self) -> &'static str

Implementors§