[][src]Trait pleco::tools::Searcher

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

Returns the name of the searcher.

fn best_move(board: Board, depth: u16) -> BitMove where
    Self: Sized

Returns the BestMove of a position from a search of depth.

Loading content...

Implementors

impl Searcher for AlphaBetaSearcher[src]

impl Searcher for IterativeSearcher[src]

impl Searcher for JamboreeSearcher[src]

impl Searcher for MiniMaxSearcher[src]

impl Searcher for ParallelMiniMaxSearcher[src]

impl Searcher for RandomBot[src]

Loading content...