mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Depth dependant singular extension margin
After 7965 games: Mod vs Orig 1324 - 1249 - 5392 ELO +3 (+- 4.4) LOS 81% Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
0fcda095df
commit
23cbb221b2
1 changed files with 1 additions and 5 deletions
|
@ -209,10 +209,6 @@ namespace {
|
|||
// Minimum depth for use of singular extension
|
||||
const Depth SingularExtensionDepth[2] = { 8 * ONE_PLY /* non-PV */, 6 * ONE_PLY /* PV */};
|
||||
|
||||
// If the TT move is at least SingularExtensionMargin better than the
|
||||
// remaining ones we will extend it.
|
||||
const Value SingularExtensionMargin = Value(0x20);
|
||||
|
||||
// Step 12. Futility pruning
|
||||
|
||||
// Futility margin for quiescence search
|
||||
|
@ -1055,7 +1051,7 @@ split_point_start: // At split points actual search starts from here
|
|||
|
||||
if (abs(ttValue) < VALUE_KNOWN_WIN)
|
||||
{
|
||||
Value b = ttValue - SingularExtensionMargin;
|
||||
Value b = ttValue - depth;
|
||||
ss->excludedMove = move;
|
||||
ss->skipNullMove = true;
|
||||
Value v = search<NonPV>(pos, ss, b - 1, b, depth / 2, ply);
|
||||
|
|
Loading…
Add table
Reference in a new issue