From 91c2c44fb1987e3587a9b1037ce6a34369995ba2 Mon Sep 17 00:00:00 2001 From: Leonid Pechenik Date: Sun, 18 Aug 2013 09:11:44 +0200 Subject: [PATCH] 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 --- src/search.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 9143f669..72abae26 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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)); } } -- 2.39.2