Struct metric_L2

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Struct Documentation

struct metric_L2 : public nanoflann::Metric

Metaprogramming helper traits class for the L2 (Euclidean) squared distance metric

template<class T, class DataSource, typename IndexType = uint32_t>
struct traits

Public Types

using distance_t = L2_Adaptor<T, DataSource, T, IndexType>