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

Visitor interface for model dispatch. More...

#include <Model.hpp>

Public Member Functions

virtual void visit (Forest const &forest)=0
 
virtual void visit (Tree const &tree)=0
 

Detailed Description

Visitor interface for model dispatch.

Implements the visitor pattern to distinguish between Tree and Forest models without dynamic_cast.

Member Function Documentation

◆ visit() [1/2]

virtual void ppforest2::Model::Visitor::visit ( Forest const & forest)
pure virtual

◆ visit() [2/2]

virtual void ppforest2::Model::Visitor::visit ( Tree const & tree)
pure virtual

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