From 198789c0461d4c50190ec2355cfb4932fbb85fce Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Thu, 19 Sep 2019 20:48:16 +0200 Subject: [PATCH] Use shuffle extension only with N-move rule makruk STC LLR: 4.58 (-2.94,2.94) [-10.00,5.00] Total: 3656 W: 314 L: 264 D: 3078 http://35.161.250.236:6543/tests/view/5d83cf5e6e23db3768ec083c makruk LTC LLR: 2.95 (-2.94,2.94) [-10.00,5.00] Total: 3645 W: 268 L: 238 D: 3139 http://35.161.250.236:6543/tests/view/5d8a510d6e23db3768ec0854 --- src/search.cpp | 1 + src/variants.ini | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index b9f9016..1b8c947 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1019,6 +1019,7 @@ moves_loop: // When in check, search starts from here // Shuffle extension else if ( PvNode + && pos.n_move_rule() && pos.rule50_count() > 18 && depth < 3 * ONE_PLY && ++thisThread->shuffleExts < thisThread->nodes.load(std::memory_order_relaxed) / 4) // To avoid too many extensions diff --git a/src/variants.ini b/src/variants.ini index ad74299..4150113 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -233,3 +233,4 @@ castling = false stalemateValue = draw immobilityIllegal = false connectN = 4 +nMoveRule = 0 -- 1.7.0.4