#include <searchable_set.h>
Public Member Functions | |
N::Ptr | InitialNode () const |
bool | Insert (const typename N::Ptr &node) |
std::vector< typename N::Ptr > | KnnSearch (const S &query, size_t k) const |
std::vector< typename N::Ptr > | RadiusSearch (const S &query, double r) const |
SearchableSet (const typename N::Ptr &node) | |
~SearchableSet () | |
Private Attributes | |
std::unique_ptr< flann::KDTreeIndex< flann::L2< double > > > | index_ |
std::vector< typename N::Ptr > | registry_ |
Additional Inherited Members | |
Private Member Functions inherited from fastrack::Uncopyable | |
Uncopyable () | |
virtual | ~Uncopyable () |
Definition at line 58 of file searchable_set.h.
fastrack::SearchableSet< N, S >::~SearchableSet | ( | ) |
Definition at line 88 of file searchable_set.h.
|
explicit |
Definition at line 100 of file searchable_set.h.
|
inline |
Definition at line 64 of file searchable_set.h.
bool fastrack::SearchableSet< N, S >::Insert | ( | const typename N::Ptr & | node | ) |
Definition at line 110 of file searchable_set.h.
std::vector< typename N::Ptr > fastrack::SearchableSet< N, S >::KnnSearch | ( | const S & | query, |
size_t | k | ||
) | const |
Definition at line 146 of file searchable_set.h.
std::vector< typename N::Ptr > fastrack::SearchableSet< N, S >::RadiusSearch | ( | const S & | query, |
double | r | ||
) | const |
Definition at line 175 of file searchable_set.h.
|
private |
Definition at line 79 of file searchable_set.h.
|
private |
Definition at line 80 of file searchable_set.h.