Package com.bayesserver
Enum NoisyOrder
- java.lang.Object
-
- java.lang.Enum<NoisyOrder>
-
- com.bayesserver.NoisyOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<NoisyOrder>
public enum NoisyOrder extends Enum<NoisyOrder>
Determines the order in which the states of a parent of a noisy node increasingly affect the noisy states.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCENDING
The states of the parent affect the noisy node states in increasing order.DESCENDING
The states of the parent affect the noisy node states in decreasing order.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NoisyOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static NoisyOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCENDING
public static final NoisyOrder ASCENDING
The states of the parent affect the noisy node states in increasing order.In this mode, the first state of the parent variable has no effect, then each subsequent state has increasing causal influence of the noisy node states.
-
DESCENDING
public static final NoisyOrder DESCENDING
The states of the parent affect the noisy node states in decreasing order.In this mode, the last state of the parent variable has no effect, and previous states have increasing causal influence over the noisy node states.
-
-
Method Detail
-
values
public static NoisyOrder[] 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 (NoisyOrder c : NoisyOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NoisyOrder 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 nameNullPointerException
- if the argument is null
-
-