Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanoflann::KNNResultSet< DistanceType, IndexType, CountType > Class Template Reference

#include <coresoftware/blob/master/offline/packages/trackreco/nanoflann.hpp>

+ Collaboration diagram for nanoflann::KNNResultSet< DistanceType, IndexType, CountType >:

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
 

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

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

Definition at line 113 of file nanoflann.hpp.

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

References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::capacity, nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::count, dist(), nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::dists, i, index, and nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::indices.

+ Here is the call graph for this function:

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>
CountType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::size ( void  ) 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>
DistanceType* nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::dists
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 file: