Enum VariableKind

    • Enum Constant Detail

      • PROBABILITY

        public static final VariableKind PROBABILITY
        A standard probability variable.
      • DECISION

        public static final VariableKind DECISION
        A decision variable, which can be used for decision making based on utilities.
      • UTILITY

        public static final VariableKind UTILITY
        A utility variable, which can be used to encode utilities such as costs and profits.
      • FUNCTION

        public static final VariableKind FUNCTION
        A function variable, whose expression is evaluated at query time, and can be based on other queries/functions.
    • Method Detail

      • values

        public static VariableKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VariableKind c : VariableKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VariableKind valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null