40 #include <pcl/common/common.h>
48 template <
class NodeType>
81 root_.serialize(stream);
91 root_.deserialize(stream);
Class representing a decision tree.
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.