mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Tune time management for LTC
60+0.6: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 102533 W: 14270 L: 13842 D: 74421 Resolves #558
This commit is contained in:
committed by
Joona Kiiski
parent
aa31f7f096
commit
4d1220d672
@@ -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); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user