HxStatistics Class

class HxStatistics

Statistics of the search.

Summary

Functions
getRunningTime Gets the running time in seconds.
getNbIterations Gets the number of iterations.
toString Returns a string representation of the statistics.

Functions

int HxStatistics::getRunningTime() const

Gets the running time in seconds. Note that is the “real” time spent (and not only the CPU or system time). Only allowed in states S_Paused or S_Stopped.

Returns:Running time in seconds.
long long HxStatistics::getNbIterations() const

Gets the number of iterations. Only allowed in states S_Paused or S_Stopped.

Returns:Number of iterations.
std::string HxStatistics::toString() const

Returns a string representation of the statistics. Only allowed in states S_Paused or S_Stopped. Useful for debugging or logging purposes.

Returns:String representation.