|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Visitor interface for tree node dispatch. More...
#include <TreeNode.hpp>
Public Member Functions | |
| virtual | ~Visitor ()=default |
| virtual void | visit (TreeBranch const &) |
| virtual void | visit (TreeLeaf const &) |
Visitor interface for tree node dispatch.
Implements the visitor pattern to distinguish between internal split nodes (TreeBranch) and leaf nodes (TreeLeaf). Both visit overloads default to no-op so visitors can override only the node type they care about.
|
virtualdefault |
|
inlinevirtual |
|
inlinevirtual |