[][src]Function myopic_brain::search

pub fn search<B, T>(root: B, terminator: T) -> Result<SearchOutcome, String> where
    B: EvalBoard,
    T: SearchTerminator

API function for executing search on the calling thread, we pass a root state and a terminator and compute the best move we can make from this state within the duration constraints implied by the terminator.