Permalink
Browse files

Prune all negative see moves at low depths

After 2036 games Mod- Orig:
381 - 278 - 1377 ELO +17 (+- 6.2) LOS 99%

One of the biggest increases ever !

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
  • Loading branch information...
1 parent 6ed409e commit 55297064268e47103f95a1eb8fd8fe80b6aa2887 @zamar zamar committed with Nov 30, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/search.cpp
View
@@ -1287,6 +1287,17 @@ namespace {
continue;
}
+
+ // Prune neg. see moves at low depths
+ if ( predictedDepth < 2 * ONE_PLY
+ && bestValue > value_mated_in(PLY_MAX)
+ && pos.see_sign(move) < 0)
+ {
+ if (SpNode)
+ lock_grab(&(sp->lock));
+
+ continue;
+ }
}
// Step 13. Make the move

0 comments on commit 5529706

Please sign in to comment.