Package com.bayesserver.inference
Enum InterventionType
- java.lang.Object
-
- java.lang.Enum<InterventionType>
-
- com.bayesserver.inference.InterventionType
-
- All Implemented Interfaces:
Serializable
,Comparable<InterventionType>
public enum InterventionType extends Enum<InterventionType>
Determines whether evidence is an intervention (do operator) or not.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DO
An intervention (do-operator)NONE
Standard evidenceNOT_APPLICABLE
Does not apply.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterventionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterventionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final InterventionType NONE
Standard evidence
-
DO
public static final InterventionType DO
An intervention (do-operator)
-
NOT_APPLICABLE
public static final InterventionType NOT_APPLICABLE
Does not apply. For example a temporal variable, when the time is not specified.
-
-
Method Detail
-
values
public static InterventionType[] 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 (InterventionType c : InterventionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterventionType 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
-
-