From: Fabian Fichter Date: Fri, 14 Sep 2018 17:18:21 +0000 (+0200) Subject: Skip razoring for capture the flag variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=83aad1f3b8dc15087abfdad9253127d198a274c4;p=fairystockfish.git Skip razoring for capture the flag variants STC king of the hill LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 4999 W: 2157 L: 1999 D: 843 http://35.161.250.236:6543/tests/view/5b9bede96e23db0fbab0dd7d STC racing kings LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 6888 W: 3098 L: 2909 D: 881 http://35.161.250.236:6543/tests/view/5b9bee026e23db0fbab0dd81 --- diff --git a/src/search.cpp b/src/search.cpp index 69cf8e4..278e296 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -723,6 +723,7 @@ namespace { // Step 7. Razoring (~2 Elo) if ( !PvNode && depth < 3 * ONE_PLY + && !pos.capture_the_flag_piece() && !pos.max_check_count() && eval <= alpha - RazorMargin[depth / ONE_PLY]) {