Skip to content

Commit 91c2c44

Browse files
lp--mcostalba
authored andcommitted
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
1 parent 27e9fc1 commit 91c2c44

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/search.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ void Search::init() {
153153
// Init futility move count array
154154
for (d = 0; d < 32; d++)
155155
{
156-
FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d), 1.8));
157-
FutilityMoveCounts[0][d] = d < 5 ? FutilityMoveCounts[1][d]
158-
: 3 * FutilityMoveCounts[1][d] / 4;
156+
FutilityMoveCounts[0][d] = int(3.001 + 0.3 * pow(double(d ), 1.8)) * (d < 5 ? 4 : 3) / 4;
157+
FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d + 0.98), 1.8));
159158
}
160159
}
161160

0 commit comments

Comments
 (0)