Enum Class Reduction

java.lang.Object
java.lang.Enum<Reduction>
tools.refinery.logic.literal.Reduction
All Implemented Interfaces:
Serializable, Comparable<Reduction>, Constable

public enum Reduction extends Enum<Reduction>
  • Enum Constant Details

    • NOT_REDUCIBLE

      public static final Reduction NOT_REDUCIBLE
      Signifies that a literal should be preserved in the clause.
    • ALWAYS_TRUE

      public static final Reduction ALWAYS_TRUE
      Signifies that the literal may be omitted from the cause (if the model being queried is nonempty).
    • ALWAYS_FALSE

      public static final Reduction ALWAYS_FALSE
      Signifies that the clause with the literal may be omitted entirely.
  • Method Details

    • values

      public static Reduction[] 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 Reduction 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
    • negate

      public Reduction negate()