23 #ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_HPP
24 #define __MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_HPP
59 template<
typename SortPolicy = NearestNeighborSort,
61 typename TreeType = tree::BinarySpaceTree<bound::HRectBound<2>,
62 NeighborSearchStat<SortPolicy> > >
87 const typename TreeType::Mat&
querySet,
88 const bool naive =
false,
90 const MetricType
metric = MetricType());
114 const bool naive =
false,
116 const MetricType
metric = MetricType());
149 const typename TreeType::Mat& referenceSet,
150 const typename TreeType::Mat& querySet,
152 const MetricType
metric = MetricType());
182 const typename TreeType::Mat& referenceSet,
184 const MetricType
metric = MetricType());
205 void Search(
const size_t k,
206 arma::Mat<size_t>& resultingNeighbors,
207 arma::mat& distances);
252 #include "neighbor_search_impl.hpp"