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