ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::TreeNode::Visitor Struct Referenceabstract

Visitor interface for tree node dispatch. More...

#include <TreeNode.hpp>

Public Member Functions

virtual void visit (TreeCondition const &condition)=0
 
virtual void visit (TreeResponse const &response)=0
 

Detailed Description

Visitor interface for tree node dispatch.

Implements the visitor pattern to distinguish between internal split nodes (TreeCondition) and leaf nodes (TreeResponse).

Member Function Documentation

◆ visit() [1/2]

virtual void ppforest2::TreeNode::Visitor::visit ( TreeCondition const & condition)
pure virtual

◆ visit() [2/2]

virtual void ppforest2::TreeNode::Visitor::visit ( TreeResponse const & response)
pure virtual

The documentation for this struct was generated from the following file: