Public Member Functions | Private Attributes | List of all members
fastrack::SearchableSet< N, S > Class Template Reference

#include <searchable_set.h>

Inheritance diagram for fastrack::SearchableSet< N, S >:
Inheritance graph
[legend]

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 ()
 

Detailed Description

template<typename N, typename S>
class fastrack::SearchableSet< N, S >

Definition at line 58 of file searchable_set.h.

Constructor & Destructor Documentation

template<typename N , typename S >
fastrack::SearchableSet< N, S >::~SearchableSet ( )

Definition at line 88 of file searchable_set.h.

template<typename N , typename S >
fastrack::SearchableSet< N, S >::SearchableSet ( const typename N::Ptr &  node)
explicit

Definition at line 100 of file searchable_set.h.

Member Function Documentation

template<typename N , typename S >
N::Ptr fastrack::SearchableSet< N, S >::InitialNode ( ) const
inline

Definition at line 64 of file searchable_set.h.

template<typename N , typename S >
bool fastrack::SearchableSet< N, S >::Insert ( const typename N::Ptr &  node)

Definition at line 110 of file searchable_set.h.

template<typename N , typename S >
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.

template<typename N , typename S >
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.

Member Data Documentation

template<typename N , typename S >
std::unique_ptr<flann::KDTreeIndex<flann::L2<double> > > fastrack::SearchableSet< N, S >::index_
private

Definition at line 79 of file searchable_set.h.

template<typename N , typename S >
std::vector<typename N::Ptr> fastrack::SearchableSet< N, S >::registry_
private

Definition at line 80 of file searchable_set.h.


The documentation for this class was generated from the following file:


fastrack
Author(s): David Fridovich-Keil
autogenerated on Mon Aug 3 2020 21:28:37