public enum VariableKind extends Enum<VariableKind>
Enum Constant and Description |
---|
DECISION
A decision variable, which can be used for decision making based on utilities.
|
FUNCTION
A function variable, whose expression is evaluated at query time, and can be based on other queries/functions.
|
PROBABILITY
A standard probability variable.
|
UTILITY
A utility variable, which can be used to encode utilities such as costs and profits.
|
Modifier and Type | Method and Description |
---|---|
static VariableKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableKind PROBABILITY
public static final VariableKind DECISION
public static final VariableKind UTILITY
public static final VariableKind FUNCTION
public static VariableKind[] values()
for (VariableKind c : VariableKind.values()) System.out.println(c);
public static VariableKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.