Clustering
C++20 header-only: DBSCAN, HDBSCAN, k-means.
Loading...
Searching...
No Matches
clustering::index::NnDescentIndex< T >::KnnEntry Struct Reference

Per-node kNN entry returned by neighbors. Squared Euclidean distance carried as T. More...

#include <clustering/index/nn_descent.h>

Collaboration diagram for clustering::index::NnDescentIndex< T >::KnnEntry:
[legend]

Public Attributes

std::int32_t idx
 Neighbor point index.
sqDist
 Squared Euclidean distance from the query to idx.

Detailed Description

template<class T>
struct clustering::index::NnDescentIndex< T >::KnnEntry

Per-node kNN entry returned by neighbors. Squared Euclidean distance carried as T.

Definition at line 53 of file nn_descent.h.

Member Data Documentation

◆ idx

template<class T>
std::int32_t clustering::index::NnDescentIndex< T >::KnnEntry::idx

Neighbor point index.

Definition at line 55 of file nn_descent.h.

◆ sqDist

template<class T>
T clustering::index::NnDescentIndex< T >::KnnEntry::sqDist

Squared Euclidean distance from the query to idx.

Definition at line 57 of file nn_descent.h.


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