Skip to content

Commit

Permalink
Further tweak movecount pruning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lp-- authored and mcostalba committed Aug 18, 2013
1 parent 27e9fc1 commit 91c2c44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 91c2c44

Please sign in to comment.