1
0
Fork 0

Non-quiet pruning tweak

Count in the difference of static evaluation
and alpha for pruning threshold.

STC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 16885 W: 3061 L: 2866 D: 10958

LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 33566 W: 4428 L: 4202 D: 24936

Bench: 5513149
pull/872/merge
Stefan Geschwentner 2016-11-11 09:46:31 +01:00 committed by Marco Costalba
parent e6c2899020
commit a90fc4c877
1 changed files with 8 additions and 3 deletions

View File

@ -944,10 +944,15 @@ moves_loop: // When in check search starts from here
&& !pos.see_ge(move, Value(-35 * lmrDepth * lmrDepth)))
continue;
}
else if ( depth < 7 * ONE_PLY
&& !extension
&& !pos.see_ge(move, Value(-35 * depth / ONE_PLY * depth / ONE_PLY)))
else if (depth < 7 * ONE_PLY && !extension)
{
Value v = Value(-35 * depth / ONE_PLY * depth / ONE_PLY);
if (ss->staticEval != VALUE_NONE)
v += ss->staticEval - alpha - 200;
if (!pos.see_ge(move, v))
continue;
}
}
// Speculative prefetch as early as possible