mlpack 3.4.2
statistic.hpp
Go to the documentation of this file.
1
14#ifndef MLPACK_CORE_TREE_STATISTIC_HPP
15#define MLPACK_CORE_TREE_STATISTIC_HPP
16
17namespace mlpack {
18namespace tree {
19
25{
26 public:
29
37 template<typename TreeType>
38 EmptyStatistic(TreeType& /* node */) { }
39
43 template<typename Archive>
44 void serialize(Archive& /* ar */, const unsigned int /* version */)
45 { }
46};
47
48} // namespace tree
49} // namespace mlpack
50
51#endif // MLPACK_CORE_TREE_STATISTIC_HPP
Empty statistic if you are not interested in storing statistics in your tree.
Definition: statistic.hpp:25
void serialize(Archive &, const unsigned int)
Serialize the statistic (there's nothing to be saved).
Definition: statistic.hpp:44
EmptyStatistic(TreeType &)
This constructor is called when a node is finished being created.
Definition: statistic.hpp:38
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1