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.

GetNbMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetNbAcceptedMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetNbImprovingMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetNbRejectedMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetNbInfeasibleMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetPercentAcceptedMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetPercentImprovingMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetPercentRejectedMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

GetPercentInfeasibleMoves

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

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.

long GetNbMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Number of (attempted) moves.

long GetNbAcceptedMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Number of accepted moves.

long GetNbImprovingMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Number of improving moves.

long GetNbRejectedMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Number of rejected moves.

long GetNbInfeasibleMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states

Paused or Stopped.

return:

Number of infeasible moves.

double GetPercentAcceptedMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Percentage of accepted moves.

double GetPercentImprovingMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Percentage of improving moves.

double GetPercentRejectedMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Percentage of rejected moves.

double GetPercentInfeasibleMoves()

Deprecated since version 9.0: This parameter gives an inaccurate view of Hexaly Optimizer search.

Only allowed in states Paused or Stopped.

Returns:

Percentage of infeasible moves.

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.