1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00

Further tweak movecount pruning

Passed both short TC
LLR: 2.95 (-2.94,2.94)
Total: 15140 W: 3125 L: 2976 D: 9039

And long TC
LLR: 2.95 (-2.94,2.94)
Total: 17118 W: 3165 L: 2974 D: 10979

bench: 4132374
This commit is contained in:
Leonid Pechenik 2013-08-18 09:11:44 +02:00 committed by Marco Costalba
parent 27e9fc1067
commit 91c2c44fb1

View file

@ -153,9 +153,8 @@ void Search::init() {
// Init futility move count array
for (d = 0; d < 32; d++)
{
FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d), 1.8));
FutilityMoveCounts[0][d] = d < 5 ? FutilityMoveCounts[1][d]
: 3 * FutilityMoveCounts[1][d] / 4;
FutilityMoveCounts[0][d] = int(3.001 + 0.3 * pow(double(d ), 1.8)) * (d < 5 ? 4 : 3) / 4;
FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d + 0.98), 1.8));
}
}