Function inanis::engine::qsearch::runner::run

source ·
pub fn run(context: &mut SearchContext, ply: u16, alpha: i16, beta: i16) -> i16
Expand description

Entry point of the quiescence search. The main idea here is to reduce the horizon effect by processing capture sequences and eventually make a quiet position suitable for final evaluation. context, ply, alpha and beta are provided by the leaf of the regular search.

Search steps: