knncolle
Collection of KNN methods in C++
Loading...
Searching...
No Matches
report_all_neighbors.hpp File Reference

Format the output for Searcher::search_all(). More...

#include <algorithm>
#include <vector>
Include dependency graph for report_all_neighbors.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Format the output for Searcher::search_all().