fn futility_pruning_can_be_applied(
context: &SearchContext,
move_score: i16,
stand_pat: i16,
alpha: i16
) -> bool
Expand description
Checks if the futility pruning can be applied for move_score
. The main idea here is similar to score pruning, but instead of checking
if the specified capture sequence loses some material or not, it checks if the final result added to the stand_pat
and q_futility_pruning_margin
will be below alpha - if yes, then we can assume that this move is not enough good to be relevant for the search.