Enum DecisionAlgorithm

    • Enum Constant Detail

      • SINGLE_POLICY_UPDATING_FULL

        public static final DecisionAlgorithm SINGLE_POLICY_UPDATING_FULL
        A Single Policy Updating (SPU) algorithm, that can compute a wider range of queries than the 'light' version, but is less efficient that the light version, both in terms of memory and speed.
      • NONE

        public static final DecisionAlgorithm NONE
        Any decision nodes are treated like standard probability nodes.
      • DEFAULT

        public static final DecisionAlgorithm DEFAULT
        Use the default algorithm. The default algorithm is subject to change as new algorithms are developed.
      • SINGLE_POLICY_UPDATING_LIGHT

        public static final DecisionAlgorithm SINGLE_POLICY_UPDATING_LIGHT
        A Single Policy Updating (SPU) algorithm, that is more efficient than the full version, as it treats the leaf MEU inputs as independent.
    • Method Detail

      • values

        public static DecisionAlgorithm[] 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 (DecisionAlgorithm c : DecisionAlgorithm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DecisionAlgorithm 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