Enum Class NumericComparator

java.lang.Object
java.lang.Enum<NumericComparator>
fr.uga.pddl4j.problem.numeric.NumericComparator
All Implemented Interfaces:
Serializable, Comparable<NumericComparator>, Constable

public enum NumericComparator extends Enum<NumericComparator>
This class implements a numeric comparator used in numeric constraints.
Since:
4.0
  • Enum Constant Details

    • EQUAL

      public static final NumericComparator EQUAL
      The comparator equal.
    • LESS

      public static final NumericComparator LESS
      The comparator less.
    • LESS_OR_EQUAL

      public static final NumericComparator LESS_OR_EQUAL
      The comparator less or equal.
    • GREATER

      public static final NumericComparator GREATER
      The comparator greater.
    • GREATER_OR_EQUAL

      public static final NumericComparator GREATER_OR_EQUAL
      The comparator greater or equal.
  • Method Details

    • values

      public static NumericComparator[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NumericComparator valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getImage

      public String getImage()
      Returns the image of this numeric comparator.
      Returns:
      the image of this numeric comparator.