T
- the data type of objects associated with tree nodes -- the objects implicitly contained in the tree.C
- the traversal context type.public static interface DecisionTree.Controller<T,C>
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminal(T o,
C context)
Indicates whether traversal should contine or end at a node.
|
boolean |
isVisible(T o,
C context)
Indicates whether a node is active during traversal.
|
T[] |
split(T o,
C context)
Create a cell's descendant nodes.
|
boolean isTerminal(T o, C context)
o
- the user-defined object specified at traversal start and examined at each tree nodes.context
- the traversal context.boolean isVisible(T o, C context)
o
- the user-defined object specified at traversal start and examined at each tree nodes.context
- the traversal context.T[] split(T o, C context)
o
- the user-defined object specified at traversal start and examined at each tree nodes.context
- the traversal context.