Package com.hexaly.optimizer
Class HxStatistics
java.lang.Object
com.hexaly.optimizer.HxStatistics
Statistics of the search.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanlongDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.longDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.longDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.longGets the number of iterations.longDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.longDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Returns the Hexaly Optimizer object associated to these statistics.doubleDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.doubleDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.doubleDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.doubleDeprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.intGets the running time in seconds.inthashCode()toString()Returns a String representation of the statistics.
-
Method Details
-
getOptimizer
Returns the Hexaly Optimizer object associated to these statistics.- Returns:
- HexalyOptimizer object.
-
getRunningTime
public 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 statesHxState.PausedorHxState.Stopped.- Returns:
- Running time in seconds.
-
getNbIterations
public long getNbIterations()Gets the number of iterations. Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Number of iterations.
-
getNbMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Number of (attempted) moves.
-
getNbAcceptedMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Number of accepted moves.
-
getNbImprovingMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Number of improving moves.
-
getNbRejectedMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Number of rejected moves.
-
getNbInfeasibleMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Number of infeasible moves.
-
getPercentAcceptedMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Percentage of accepted moves.
-
getPercentImprovingMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Percentage of improving moves.
-
getPercentRejectedMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Percentage of rejected moves.
-
getPercentInfeasibleMoves
Deprecated.As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.Only allowed in statesHxState.PausedorHxState.Stopped.- Returns:
- Percentage of infeasible moves.
-
toString
Returns a String representation of the statistics. Only allowed in statesHxState.PausedorHxState.Stopped. Useful for debugging or logging purposes. -
hashCode
public int hashCode() -
equals
-