mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Prune all negative see moves at low depths
After 2036 games Mod- Orig: 381 - 278 - 1377 ELO +17 (+- 6.2) LOS 99% One of the biggest increases ever ! Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
6ed409ecee
commit
5529706426
1 changed files with 11 additions and 0 deletions
|
@ -1287,6 +1287,17 @@ split_point_start: // At split points actual search starts from here
|
|||
|
||||
continue;
|
||||
}
|
||||
|
||||
// Prune neg. see moves at low depths
|
||||
if ( predictedDepth < 2 * ONE_PLY
|
||||
&& bestValue > value_mated_in(PLY_MAX)
|
||||
&& pos.see_sign(move) < 0)
|
||||
{
|
||||
if (SpNode)
|
||||
lock_grab(&(sp->lock));
|
||||
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Step 13. Make the move
|
||||
|
|
Loading…
Add table
Reference in a new issue