#include <kdtree_map.h>
Public Types | |
typedef Eigen::Matrix< double, K, 1 > | VectorKd |
Public Member Functions | |
bool | Insert (const std::pair< VectorKd, V > &entry) |
bool | Insert (const VectorKd &key, const V &value) |
template<typename Container > | |
bool | Insert (const Container &pairs) |
KdtreeMap () | |
std::vector< std::pair< VectorKd, V > > | KnnSearch (const VectorKd &query, size_t k) const |
std::vector< std::pair< VectorKd, V > > | RadiusSearch (const VectorKd &query, double r) const |
const std::vector< std::pair< VectorKd, V > > & | Registry () const |
size_t | Size () const |
~KdtreeMap () | |
Private Attributes | |
std::unique_ptr< flann::KDTreeIndex< flann::L2< double > > > | index_ |
std::vector< std::pair< VectorKd, V > > | registry_ |
Additional Inherited Members | |
Private Member Functions inherited from fastrack::Uncopyable | |
Uncopyable () | |
virtual | ~Uncopyable () |
Definition at line 58 of file kdtree_map.h.
typedef Eigen::Matrix<double, K, 1> fastrack::KdtreeMap< K, V >::VectorKd |
Definition at line 60 of file kdtree_map.h.
|
inline |
Definition at line 62 of file kdtree_map.h.
|
inlineexplicit |
Definition at line 63 of file kdtree_map.h.
bool fastrack::KdtreeMap< K, V >::Insert | ( | const std::pair< VectorKd, V > & | entry | ) |
Definition at line 105 of file kdtree_map.h.
|
inline |
Definition at line 67 of file kdtree_map.h.
|
inline |
Definition at line 73 of file kdtree_map.h.
std::vector< std::pair< typename KdtreeMap< K, V >::VectorKd, V > > fastrack::KdtreeMap< K, V >::KnnSearch | ( | const VectorKd & | query, |
size_t | k | ||
) | const |
Definition at line 132 of file kdtree_map.h.
std::vector< std::pair< typename KdtreeMap< K, V >::VectorKd, V > > fastrack::KdtreeMap< K, V >::RadiusSearch | ( | const VectorKd & | query, |
double | r | ||
) | const |
Definition at line 165 of file kdtree_map.h.
|
inline |
Definition at line 89 of file kdtree_map.h.
|
inline |
Definition at line 92 of file kdtree_map.h.
|
private |
Definition at line 97 of file kdtree_map.h.
|
private |
Definition at line 98 of file kdtree_map.h.