mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Depth dependant aspiration window delta
Split delta value in aspiration window so that when search depth is less than 24 a smaller delta value is used. The idea is that the search is likely to be more accurate at lower depths and so we can exclude more possibilities, 25% to be exact. Passed STC LLR: 2.96 (-2.94, 2.94) [-1.50, 4.50] Total: 20430 W: 3775 L: 3618 D: 13037 And LTC LLR: 2.96 (-2.94, 2.94) [0.00, 6.00] Total: 5032 W: 839 L: 715 D: 3478 Bench: 7451319
This commit is contained in:
parent
d0587f2c7f
commit
36c381154b
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ namespace {
|
||||||
// Reset aspiration window starting size
|
// Reset aspiration window starting size
|
||||||
if (depth >= 5)
|
if (depth >= 5)
|
||||||
{
|
{
|
||||||
delta = Value(16);
|
delta = Value(depth > 23 ? 16 : 12);
|
||||||
alpha = std::max(RootMoves[PVIdx].prevScore - delta,-VALUE_INFINITE);
|
alpha = std::max(RootMoves[PVIdx].prevScore - delta,-VALUE_INFINITE);
|
||||||
beta = std::min(RootMoves[PVIdx].prevScore + delta, VALUE_INFINITE);
|
beta = std::min(RootMoves[PVIdx].prevScore + delta, VALUE_INFINITE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue