Point Cloud Library (PCL)
1.10.1
|
48 template <
class NodeType>
81 root_.serialize(stream);
91 root_.deserialize(stream);
This file defines compatibility wrappers for low level I/O functions.
NodeType & getRoot()
Returns the root node of the tree.
void serialize(::std::ostream &stream) const
Serializes the decision tree.
Class representing a decision tree.
void deserialize(::std::istream &stream)
Deserializes the decision tree.
DecisionTree()
Constructor.
virtual ~DecisionTree()
Destructor.
void setRoot(const NodeType &root)
Sets the root node of the tree.