mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +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:
parent
bd33766da0
commit
91a2766308
1 changed files with 7 additions and 0 deletions
|
@ -1427,6 +1427,13 @@ split_point_start: // At split points actual search starts from here
|
|||
bestValue = futilityValue;
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue