public enum HeadTail extends Enum<HeadTail>
VariableContext
.
Head variables are those on the left, and tail variables are those on the right in the expression P(A|B).VariableContext
Enum Constant and Description |
---|
HEAD
Indicates that a variable is marked as head in a distribution.
|
TAIL
Indicates that a variable is marked as tail in a distribution.
|
Modifier and Type | Method and Description |
---|---|
static HeadTail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeadTail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeadTail HEAD
VariableContext
.
Head variables are those on the left, and tail variables are those on the right in the expression P(A|B).public static final HeadTail TAIL
VariableContext
.
Head variables are those on the left, and tail variables are those on the right in the expression P(A|B).public static HeadTail[] values()
for (HeadTail c : HeadTail.values()) System.out.println(c);
public static HeadTail 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.