HxStatistics Class

class Hexaly.Optimizer.HxStatistics

Statistics of the search.

Summary

Methods
GetOptimizer Returns the Hexaly Optimizer object associated to these statistics.
GetRunningTime Gets the running time in seconds.
GetNbIterations Gets the number of iterations.
ToString Returns a string representation of the statistics.

Instance methods

HexalyOptimizer GetOptimizer()

Returns the Hexaly Optimizer object associated to these statistics.

Returns:HexalyOptimizer object
int GetRunningTime()

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 Paused or Stopped.

Returns:Running time in seconds.
long GetNbIterations()

Gets the number of iterations. Only allowed in states Paused or Stopped.

string ToString()

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

Returns:String representation.