]> git.sesse.net Git - stockfish/commitdiff
Tune time management for LTC
authorLeonid Pechenik <lp@home>
Mon, 4 Jan 2016 03:31:51 +0000 (22:31 -0500)
committerJoona Kiiski <joona@zoox.com>
Sat, 9 Jan 2016 09:21:52 +0000 (09:21 +0000)
60+0.6:
LLR: 2.96 (-2.94,2.94) [0.00,4.00]
Total: 102533 W: 14270 L: 13842 D: 74421

Resolves #558

src/timeman.h

index 00a3328cf623cdfb17e12cf07648626a28e9ebb4..0da083dc6bd9b8c68ebee2cfa25c7521bfbaa380 100644 (file)
@@ -32,7 +32,7 @@ class TimeManagement {
 public:
   void init(Search::LimitsType& limits, Color us, int ply);
   void pv_instability(double bestMoveChanges) { unstablePvFactor = 1 + bestMoveChanges; }
-  int available() const { return int(optimumTime * unstablePvFactor * 0.968); }
+  int available() const { return int(optimumTime * unstablePvFactor * 1.01); }
   int maximum() const { return maximumTime; }
   int elapsed() const { return int(Search::Limits.npmsec ? Threads.nodes_searched() : now() - startTime); }