Trait pleco::tools::Searcher [−][src]
pub trait Searcher { fn name() -> &'static str
where
Self: Sized; fn best_move(board: Board, depth: u16) -> BitMove
where
Self: Sized; }
Defines an object that can play chess.
Required Methods
fn name() -> &'static str where
Self: Sized,
Self: Sized,
Returns the name of the searcher.
fn best_move(board: Board, depth: u16) -> BitMove where
Self: Sized,
Self: Sized,
Returns the BestMove of a position from a search of depth.
Implementors
impl Searcher for RandomBot
impl Searcher for AlphaBetaSearcher
impl Searcher for IterativeSearcher
impl Searcher for JamboreeSearcher
impl Searcher for MiniMaxSearcher
impl Searcher for ParallelMiniMaxSearcher