Class HxStatistics

java.lang.Object
com.hexaly.optimizer.HxStatistics

public class HxStatistics extends Object
Statistics of the search.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    long
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    long
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    long
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    long
    Gets the number of iterations.
    long
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    long
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    Returns the Hexaly Optimizer object associated to these statistics.
    double
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    double
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    double
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    double
    Deprecated.
    As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
    int
    Gets the running time in seconds.
    int
     
    Returns a String representation of the statistics.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getOptimizer

      public HexalyOptimizer 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 states HxState.Paused or HxState.Stopped.
      Returns:
      Running time in seconds.
    • getNbIterations

      public long getNbIterations()
      Gets the number of iterations. Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Number of iterations.
    • getNbMoves

      @Deprecated public long getNbMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Number of (attempted) moves.
    • getNbAcceptedMoves

      @Deprecated public long getNbAcceptedMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Number of accepted moves.
    • getNbImprovingMoves

      @Deprecated public long getNbImprovingMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Number of improving moves.
    • getNbRejectedMoves

      @Deprecated public long getNbRejectedMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Number of rejected moves.
    • getNbInfeasibleMoves

      @Deprecated public long getNbInfeasibleMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Number of infeasible moves.
    • getPercentAcceptedMoves

      @Deprecated public double getPercentAcceptedMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Percentage of accepted moves.
    • getPercentImprovingMoves

      @Deprecated public double getPercentImprovingMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Percentage of improving moves.
    • getPercentRejectedMoves

      @Deprecated public double getPercentRejectedMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Percentage of rejected moves.
    • getPercentInfeasibleMoves

      @Deprecated public double getPercentInfeasibleMoves()
      Deprecated.
      As of 9.0, this parameter gives an inaccurate view of Hexaly Optimizer search.
      Only allowed in states HxState.Paused or HxState.Stopped.
      Returns:
      Percentage of infeasible moves.
    • toString

      public String toString()
      Returns a String representation of the statistics. Only allowed in states HxState.Paused or HxState.Stopped. Useful for debugging or logging purposes.
      Overrides:
      toString in class Object
      Returns:
      String representation.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object