Less move count pruning for drop variants
authorFabian Fichter <ianfab@users.noreply.github.com>
Tue, 30 Oct 2018 19:11:59 +0000 (20:11 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Wed, 31 Oct 2018 08:49:51 +0000 (09:49 +0100)
crazyhouse STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1472 W: 780 L: 658 D: 34
http://35.161.250.236:6543/tests/view/5bd8ad6e6e23db7639060c37

src/search.cpp

index 6528572..e8a274e 100644 (file)
@@ -895,7 +895,7 @@ moves_loop: // When in check, search starts from here
       movedPiece = pos.moved_piece(move);
       givesCheck = gives_check(pos, move);
 
-      moveCountPruning =   depth < 16 * ONE_PLY
+      moveCountPruning =   depth * (1 + pos.captures_to_hand()) < 16 * ONE_PLY
                         && moveCount >= FutilityMoveCounts[improving][depth / ONE_PLY];
 
       // Step 13. Extensions (~70 Elo)