-
- void init(const SearchLimits& limits, int currentPly);
- void pv_instability(int curChanges, int prevChanges);
- int available_time() const { return optimumSearchTime + unstablePVExtraTime; }
+ void init(const Search::LimitsType& limits, int currentPly, Color us);
+ void pv_instability(double bestMoveChanges) { unstablePvFactor = 1 + bestMoveChanges; }
+ int available_time() const { return int(optimumSearchTime * unstablePvFactor * 0.71); }