dtb_stat.hpp

Go to the documentation of this file.
00001 
00022 #ifndef __MLPACK_METHODS_EMST_DTB_STAT_HPP
00023 #define __MLPACK_METHODS_EMST_DTB_STAT_HPP
00024 
00025 #include <mlpack/core.hpp>
00026 
00027 namespace mlpack {
00028 namespace emst {
00029 
00034 class DTBStat
00035 {
00036  private:
00039   double maxNeighborDistance;
00040 
00043   double minNeighborDistance;
00044 
00046   double bound;
00047 
00052   int componentMembership;
00053 
00054  public:
00059   DTBStat();
00060 
00068   template<typename TreeType>
00069   DTBStat(const TreeType& node);
00070 
00072   double MaxNeighborDistance() const { return maxNeighborDistance; }
00074   double& MaxNeighborDistance() { return maxNeighborDistance; }
00075 
00077   double MinNeighborDistance() const { return minNeighborDistance; }
00079   double& MinNeighborDistance() { return minNeighborDistance; }
00080 
00082   double Bound() const { return bound; }
00084   double& Bound() { return bound; }
00085 
00087   int ComponentMembership() const { return componentMembership; }
00089   int& ComponentMembership() { return componentMembership; }
00090 
00091 }; // class DTBStat
00092 
00093 }; // namespace emst
00094 }; // namespace mlpack
00095 
00096 #endif // __MLPACK_METHODS_EMST_DTB_STAT_HPP

Generated on 29 Sep 2016 for MLPACK by  doxygen 1.6.1