along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#if !defined(TIMEMAN_H_INCLUDED)
+#ifndef TIMEMAN_H_INCLUDED
#define TIMEMAN_H_INCLUDED
/// The TimeManager class computes the optimal time to think depending on the
class TimeManager {
public:
void init(const Search::LimitsType& limits, int currentPly, Color us);
- void pv_instability(int curChanges, int prevChanges);
+ void pv_instability(float bestMoveChanges);
int available_time() const { return optimumSearchTime + unstablePVExtraTime; }
int maximum_time() const { return maximumSearchTime; }
int unstablePVExtraTime;
};
-#endif // !defined(TIMEMAN_H_INCLUDED)
+#endif // #ifndef TIMEMAN_H_INCLUDED