MLPACK  1.0.7
traits.hpp
Go to the documentation of this file.
1 
23 #ifndef __MLPACK_CORE_TREE_COVER_TREE_TRAITS_HPP
24 #define __MLPACK_CORE_TREE_COVER_TREE_TRAITS_HPP
25 
27 
28 namespace mlpack {
29 namespace tree {
30 
37 template<typename MetricType,
38  typename RootPointPolicy,
39  typename StatisticType>
40 class TreeTraits<CoverTree<MetricType, RootPointPolicy, StatisticType> >
41 {
42  public:
48  static const bool HasParentDistance = true;
49 
54  static const bool HasOverlappingChildren = true;
55 
60  static const bool FirstPointIsCentroid = true;
61 
65  static const bool HasSelfChildren = true;
66 };
67 
68 }; // namespace tree
69 }; // namespace mlpack
70 
71 #endif