00001 00023 #ifndef __MLPACK_CORE_TREE_COVER_TREE_TRAITS_HPP 00024 #define __MLPACK_CORE_TREE_COVER_TREE_TRAITS_HPP 00025 00026 #include <mlpack/core/tree/tree_traits.hpp> 00027 00028 namespace mlpack { 00029 namespace tree { 00030 00037 template<typename MetricType, 00038 typename RootPointPolicy, 00039 typename StatisticType> 00040 class TreeTraits<CoverTree<MetricType, RootPointPolicy, StatisticType> > 00041 { 00042 public: 00048 static const bool HasParentDistance = true; 00049 00054 static const bool HasOverlappingChildren = true; 00055 00060 static const bool FirstPointIsCentroid = true; 00061 00065 static const bool HasSelfChildren = true; 00066 }; 00067 00068 }; // namespace tree 00069 }; // namespace mlpack 00070 00071 #endif