#include <nanoflann.hpp>
Public Types | |
typedef _DistanceType | DistanceType |
typedef T | ElementType |
Public Member Functions | |
template<typename U , typename V > | |
DistanceType | accum_dist (const U a, const V b, int) const |
L1_Adaptor (const DataSource &_data_source) | |
DistanceType | operator() (const T *a, const size_t b_idx, size_t size, DistanceType worst_dist=-1) const |
Public Attributes | |
const DataSource & | data_source |
Manhattan distance functor (generic version, optimized for high-dimensionality data sets). Corresponding distance traits: nanoflann::metric_L1
T | Type of the elements (e.g. double, float, uint8_t) |
DistanceType | Type of distance variables (must be signed) (e.g. float, double, int64_t) |
Definition at line 249 of file nanoflann.hpp.
typedef _DistanceType nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::DistanceType |
Definition at line 252 of file nanoflann.hpp.
typedef T nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::ElementType |
Definition at line 251 of file nanoflann.hpp.
nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::L1_Adaptor | ( | const DataSource & | _data_source | ) | [inline] |
Definition at line 256 of file nanoflann.hpp.
DistanceType nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::accum_dist | ( | const U | a, |
const V | b, | ||
int | |||
) | const [inline] |
Definition at line 285 of file nanoflann.hpp.
DistanceType nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::operator() | ( | const T * | a, |
const size_t | b_idx, | ||
size_t | size, | ||
DistanceType | worst_dist = -1 |
||
) | const [inline] |
Definition at line 258 of file nanoflann.hpp.
const DataSource& nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::data_source |
Definition at line 254 of file nanoflann.hpp.