Class OptimalScheduleFinder._StateComparatorMaximumProgress

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Object o1, java.lang.Object o2)
      Compare the states based on smallest number of remaining firings.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Method Detail

      • compare

        public int compare​(java.lang.Object o1,
                           java.lang.Object o2)
        Compare the states based on smallest number of remaining firings.
        Parameters:
        o1 - first object to compare
        o2 - second object to compare
        Returns:
        -1 if o1 < o2, +1 if o1 > o2 0 otherwise