mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Retire LMR intermediate research
It does not seem to improve anything. After 8344 games Mod - Orig: 1362 - 1321 - 5661 ELO +2 Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
0007b43a91
commit
3346ccc9d9
1 changed files with 0 additions and 25 deletions
|
@ -828,18 +828,6 @@ namespace {
|
|||
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, newDepth-ss->reduction, 1);
|
||||
doFullDepthSearch = (value > alpha);
|
||||
}
|
||||
|
||||
// The move failed high, but if reduction is very big we could
|
||||
// face a false positive, retry with a less aggressive reduction,
|
||||
// if the move fails high again then go with full depth search.
|
||||
if (doFullDepthSearch && ss->reduction > 2 * ONE_PLY)
|
||||
{
|
||||
assert(newDepth - ONE_PLY >= ONE_PLY);
|
||||
|
||||
ss->reduction = ONE_PLY;
|
||||
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, newDepth-ss->reduction, 1);
|
||||
doFullDepthSearch = (value > alpha);
|
||||
}
|
||||
ss->reduction = DEPTH_ZERO; // Restore original reduction
|
||||
}
|
||||
|
||||
|
@ -1347,19 +1335,6 @@ split_point_start: // At split points actual search starts from here
|
|||
|
||||
doFullDepthSearch = (value > alpha);
|
||||
}
|
||||
|
||||
// The move failed high, but if reduction is very big we could
|
||||
// face a false positive, retry with a less aggressive reduction,
|
||||
// if the move fails high again then go with full depth search.
|
||||
if (doFullDepthSearch && ss->reduction > 2 * ONE_PLY)
|
||||
{
|
||||
assert(newDepth - ONE_PLY >= ONE_PLY);
|
||||
|
||||
ss->reduction = ONE_PLY;
|
||||
alpha = SpNode ? sp->alpha : alpha;
|
||||
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, newDepth-ss->reduction, ply+1);
|
||||
doFullDepthSearch = (value > alpha);
|
||||
}
|
||||
ss->reduction = DEPTH_ZERO; // Restore original reduction
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue