[−][src]Function myopic_brain::search
pub fn search<B, T>(
root: B,
parameters: SearchParameters<T>
) -> Result<SearchOutcome> where
B: EvalChessBoard,
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.