EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanoflann::KNNResultSet< DistanceType, IndexType, CountType > Class Template Reference

#include <fun4all_coresoftware/blob/master/offline/packages/PHTpcTracker/externals/nanoflann.hpp>

Public Member Functions

 KNNResultSet (CountType capacity_)
 
void init (IndexType *indices_, DistanceType *dists_)
 
CountType size () const
 
bool full () const
 
void addPoint (DistanceType dist, IndexType index)
 
DistanceType worstDist () const
 
 KNNResultSet (CountType capacity_)
 
void init (IndexType *indices_, DistanceType *dists_)
 
CountType size () const
 
bool full () const
 
void addPoint (DistanceType dist, IndexType index)
 
DistanceType worstDist () const
 

Private Attributes

IndexType * indices
 
DistanceType * dists
 
CountType capacity
 
CountType count
 

Detailed Description

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
class nanoflann::KNNResultSet< DistanceType, IndexType, CountType >

Definition at line 78 of file nanoflann.hpp.

View newest version in sPHENIX GitHub at line 78 of file nanoflann.hpp

Constructor & Destructor Documentation

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::KNNResultSet ( CountType  capacity_)
inline

Definition at line 86 of file nanoflann.hpp.

View newest version in sPHENIX GitHub at line 86 of file nanoflann.hpp

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::KNNResultSet ( CountType  capacity_)
inline

Definition at line 86 of file nanoflann.hpp.

View newest version in sPHENIX GitHub at line 86 of file nanoflann.hpp

Member Function Documentation

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
void nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::addPoint ( DistanceType  dist,
IndexType  index 
)
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
void nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::addPoint ( DistanceType  dist,
IndexType  index 
)
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
bool nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::full ( ) const
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
bool nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::full ( ) const
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
void nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::init ( IndexType *  indices_,
DistanceType *  dists_ 
)
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
void nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::init ( IndexType *  indices_,
DistanceType *  dists_ 
)
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
CountType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::size ( void  ) const
inline

Definition at line 103 of file nanoflann.hpp.

View newest version in sPHENIX GitHub at line 103 of file nanoflann.hpp

References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::count.

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
DistanceType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::worstDist ( ) const
inline
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
DistanceType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::worstDist ( ) const
inline

Member Data Documentation

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
CountType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::capacity
private
template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
IndexType * nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::indices
private

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