knncolle
Collection of KNN methods in C++
|
Format the output for Searcher::search_all()
.
More...
#include <algorithm>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | knncolle |
Collection of KNN algorithms. | |
Functions | |
template<typename Index_ > | |
Index_ | knncolle::count_all_neighbors_without_self (Index_ count) |
template<typename Distance_ , typename Index_ > | |
void | knncolle::report_all_neighbors (std::vector< std::pair< Distance_, Index_ > > &all_neighbors, std::vector< Index_ > *output_indices, std::vector< Distance_ > *output_distances, Index_ self) |
template<typename Distance_ , typename Index_ > | |
void | knncolle::report_all_neighbors (std::vector< std::pair< Distance_, Index_ > > &all_neighbors, std::vector< Index_ > *output_indices, std::vector< Distance_ > *output_distances) |
Format the output for Searcher::search_all()
.