Tweak probcut margin for extinction variants
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 30 Jan 2021 22:45:01 +0000 (23:45 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 30 Jan 2021 22:45:01 +0000 (23:45 +0100)
shatranj STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1753 W: 212 L: 146 D: 1395
http://www.variantfishtest.org:6543/tests/view/601473246e23db669974e64a

shatranj LTC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 2653 W: 205 L: 173 D: 2275
http://www.variantfishtest.org:6543/tests/view/60148af66e23db669974e65e

horde LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 1249 W: 648 L: 589 D: 12
http://www.variantfishtest.org:6543/tests/view/60148b226e23db669974e660

src/search.cpp

index 7dd9a69..943baf9 100644 (file)
@@ -977,7 +977,7 @@ namespace {
         }
     }
 
-    probCutBeta = beta + (183 + 20 * !!pos.capture_the_flag_piece() + 50 * pos.captures_to_hand()) * (1 + pos.check_counting() + (pos.extinction_value() != VALUE_NONE)) - 49 * improving;
+    probCutBeta = beta + (183 + 20 * !!pos.capture_the_flag_piece() + 50 * pos.captures_to_hand()) * (1 + pos.check_counting() + pos.extinction_single_piece()) - 49 * improving;
 
     // Step 10. ProbCut (~10 Elo)
     // If we have a good enough capture and a reduced search returns a value