public static final class DecisionTree.Split extends DecisionTree
DecisionTree
which represents
a binary choice with respect to some pivot
character:
pivot
is mapped to the result of a recursive decision tree left
pivot
is mapped to the result of a recursive decision tree right
DecisionTree.Return
as a leaf and it will
only be applied to some sub-interval.
DecisionTree.Impossible, DecisionTree.Kind, DecisionTree.Return, DecisionTree.Split, DecisionTree.Switch, DecisionTree.Table
Modifier and Type | Field and Description |
---|---|
DecisionTree |
left
The decision tree to use for characters
c <= pivot |
char |
pivot
The pivot character
|
DecisionTree |
right
The decision tree to use for characters
c > pivot |
IMPOSSIBLE
Modifier and Type | Method and Description |
---|---|
CSet |
getDomain() |
DecisionTree.Kind |
getKind() |
compile, main, ret, simplify, split, switchTable, tabulated, toString
public final char pivot
public final DecisionTree left
c <= pivot
public final DecisionTree right
c > pivot
public CSet getDomain()
getDomain
in class DecisionTree
public DecisionTree.Kind getKind()
getKind
in class DecisionTree