mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Maximum aspiration delta of 64
After 9242 games Mod vs Orig: 1483 - 1373 - 6386 ELO +4 (+- 2.9) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
62c707e1d5
commit
3abff79df3
@@ -657,7 +657,7 @@ namespace {
|
||||
int prevDelta1 = bestValues[iteration - 1] - bestValues[iteration - 2];
|
||||
int prevDelta2 = bestValues[iteration - 2] - bestValues[iteration - 3];
|
||||
|
||||
aspirationDelta = Max(abs(prevDelta1) + abs(prevDelta2) / 2, 16);
|
||||
aspirationDelta = Min(Max(abs(prevDelta1) + abs(prevDelta2) / 2, 16), 64);
|
||||
aspirationDelta = (aspirationDelta + 7) / 8 * 8; // Round to match grainSize
|
||||
|
||||
alpha = Max(bestValues[iteration - 1] - aspirationDelta, -VALUE_INFINITE);
|
||||
|
||||
Reference in New Issue
Block a user