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 
17 namespace mlpack {
18 namespace 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
.hpp
Definition: add_to_po.hpp:21
EmptyStatistic(TreeType &)
This constructor is called when a node is finished being created.
Definition: statistic.hpp:38
void serialize(Archive &, const unsigned int)
Serialize the statistic (there&#39;s nothing to be saved).
Definition: statistic.hpp:44
Empty statistic if you are not interested in storing statistics in your tree.
Definition: statistic.hpp:24