MLPACK  1.0.8
dtb_stat.hpp
Go to the documentation of this file.
1 
22 #ifndef __MLPACK_METHODS_EMST_DTB_STAT_HPP
23 #define __MLPACK_METHODS_EMST_DTB_STAT_HPP
24 
25 #include <mlpack/core.hpp>
26 
27 namespace mlpack {
28 namespace emst {
29 
34 class DTBStat
35 {
36  private:
40 
44 
46  double bound;
47 
53 
54  public:
59  DTBStat();
60 
68  template<typename TreeType>
69  DTBStat(const TreeType& node);
70 
72  double MaxNeighborDistance() const { return maxNeighborDistance; }
75 
77  double MinNeighborDistance() const { return minNeighborDistance; }
80 
82  double Bound() const { return bound; }
84  double& Bound() { return bound; }
85 
87  int ComponentMembership() const { return componentMembership; }
90 
91 }; // class DTBStat
92 
93 }; // namespace emst
94 }; // namespace mlpack
95 
96 #endif // __MLPACK_METHODS_EMST_DTB_STAT_HPP