Interface DecisionTreeVisitor


public interface DecisionTreeVisitor
Callback for DecisionTree.visit(DecisionTreeVisitor), called once for each node of the tree.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called for each node with path holding its ancestors from the root down; the list is reused, so copy it to keep it.
  • Method Details

    • visitNode

      void visitNode(List<DecisionTreeNode> path, DecisionTreeNode node)
      Called for each node with path holding its ancestors from the root down; the list is reused, so copy it to keep it.