Interface DecisionTreeVisitor
public interface DecisionTreeVisitor
Callback for
DecisionTree.visit(DecisionTreeVisitor), called once for each node of the tree.-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitNode(List<DecisionTreeNode> path, DecisionTreeNode node) Called for each node withpathholding its ancestors from the root down; the list is reused, so copy it to keep it.
-
Method Details
-
visitNode
Called for each node withpathholding its ancestors from the root down; the list is reused, so copy it to keep it.
-