Use shuffle extension only with N-move rule
authorFabian Fichter <ianfab@users.noreply.github.com>
Thu, 19 Sep 2019 18:48:16 +0000 (20:48 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Thu, 26 Sep 2019 18:40:12 +0000 (20:40 +0200)
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
src/variants.ini

index b9f9016..1b8c947 100644 (file)
@@ -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
index ad74299..4150113 100644 (file)
@@ -233,3 +233,4 @@ castling = false
 stalemateValue = draw
 immobilityIllegal = false
 connectN = 4
+nMoveRule = 0