38 #ifndef PCL_ML_DT_DECISION_TREE 39 #define PCL_ML_DT_DECISION_TREE 41 #include <pcl/common/common.h> 50 template <
class NodeType>
84 root_.serialize (stream);
92 root_.deserialize (stream);
Class representing a decision tree.
virtual ~DecisionTree()
Destructor.
void setRoot(const NodeType &root)
Sets the root node of the tree.
DecisionTree()
Constructor.
NodeType & getRoot()
Returns the root node of the tree.
void serialize(::std::ostream &stream) const
Serializes the decision tree.
void deserialize(::std::istream &stream)
Deserializes the decision tree.