Tweak again futility margings
authorMarco Costalba <mcostalba@gmail.com>
Thu, 25 Dec 2008 19:08:45 +0000 (20:08 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 25 Dec 2008 19:08:45 +0000 (20:08 +0100)
Lower margins near the leafs, higher at high depth.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp

index ffd484266b2196d0167c93b377c59b7a15230814..aaa2f515d7387ce0d7f21dfc28fbd250a029209d 100644 (file)
@@ -165,8 +165,8 @@ namespace {
   // Margins for futility pruning in the quiescence search, and at frontier
   // and near frontier nodes
   Value FutilityMarginQS = Value(0x80);
-  Value FutilityMargins[6] = { Value(0x120), Value(0x220), Value(0x250),
-                               Value(0x280), Value(0x320), Value(0x360) };
+  Value FutilityMargins[6] = { Value(0x100), Value(0x200), Value(0x250),
+                               Value(0x2A0), Value(0x340), Value(0x3A0) };
 
   // Razoring
   Depth RazorDepth = 4*OnePly;