#include <DecisionTree.h>
Public Types | |
using | Ptr = std::shared_ptr< const Node > |
Public Member Functions | |
virtual Ptr | apply (const Unary &op) const =0 |
virtual Ptr | apply (const UnaryAssignment &op, const Assignment< L > &assignment) const =0 |
virtual Ptr | apply_f_op_g (const Node &, const Binary &) const =0 |
virtual Ptr | apply_g_op_fC (const Choice &, const Binary &) const =0 |
virtual Ptr | apply_g_op_fL (const Leaf &, const Binary &) const =0 |
virtual Ptr | choose (const L &label, size_t index) const =0 |
virtual void | dot (std::ostream &os, const LabelFormatter &labelFormatter, const ValueFormatter &valueFormatter, bool showZero) const =0 |
virtual bool | equals (const Node &other, const CompareFunc &compare=&DefaultCompare) const =0 |
const void * | id () const |
virtual bool | isLeaf () const =0 |
Node () | |
virtual const Y & | operator() (const Assignment< L > &x) const =0 |
virtual void | print (const std::string &s, const LabelFormatter &labelFormatter, const ValueFormatter &valueFormatter) const =0 |
virtual bool | sameLeaf (const Leaf &q) const =0 |
virtual bool | sameLeaf (const Node &q) const =0 |
virtual | ~Node () |
---------------------— Node base class ------------------------—
Definition at line 74 of file DecisionTree.h.
using gtsam::DecisionTree< L, Y >::Node::Ptr = std::shared_ptr<const Node> |
Definition at line 75 of file DecisionTree.h.
|
inline |
Definition at line 82 of file DecisionTree.h.
|
inlinevirtual |
Definition at line 90 of file DecisionTree.h.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
inline |
Definition at line 98 of file DecisionTree.h.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.
|
pure virtual |
Implemented in gtsam::DecisionTree< L, Y >::Choice< L, Y >, and gtsam::DecisionTree< L, Y >::Leaf< L, Y >.