mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Prune moves with equal SEE in qsearch
After 5166 games: Mod vs Orig 890 - 762 - 3514 ELO +8 (+- 5.5) LOS 96% Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1427,6 +1427,13 @@ split_point_start: // At split points actual search starts from here
|
|||||||
bestValue = futilityValue;
|
bestValue = futilityValue;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prune moves with negative or equal SEE
|
||||||
|
if ( futilityBase < beta
|
||||||
|
&& depth < DEPTH_ZERO
|
||||||
|
&& bestValue > value_mated_in(PLY_MAX)
|
||||||
|
&& pos.see(move) <= 0)
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Detect non-capture evasions that are candidate to be pruned
|
// Detect non-capture evasions that are candidate to be pruned
|
||||||
|
|||||||
Reference in New Issue
Block a user