Function myopic_brain::negascout::search[][src]

pub fn search<B>(root: &mut B, depth: usize) -> Result<SearchResponse> where
    B: EvalChessBoard

Performs a negascout search without any iterative deepening, we simply provide a depth to search to. The depth should be kept low otherwise ID is always preferable. In particular this function will support a depth 0 search which performs a quiescent search on the provided root.