Enum Class ParamConstraintType

java.lang.Object
java.lang.Enum<ParamConstraintType>
edu.cmu.tetrad.sem.ParamConstraintType
All Implemented Interfaces:
Serializable, Comparable<ParamConstraintType>, Constable

public enum ParamConstraintType extends Enum<ParamConstraintType>
Enum for representing different types of parameter constraints.
  • Enum Constant Details

    • LT

      public static final ParamConstraintType LT
      Represents a parameter constraint type LT (less than).
    • GT

      public static final ParamConstraintType GT
      Represents a parameter constraint type GT (greater than).
    • EQ

      public static final ParamConstraintType EQ
      The EQ represents a parameter constraint type EQ (equal). This enum value is used to represent the equality constraint on a parameter. It indicates that the parameter value should be equal to a specific value.
    • NONE

      public static final ParamConstraintType NONE
      Represents a parameter constraint type NONE. This enum value is used to represent the absence of a constraint on a parameter. It indicates that there is no specific constraint on the parameter value.
  • Method Details

    • values

      public static ParamConstraintType[] 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 ParamConstraintType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ParamConstraintType>