结构体 faiss::HNSW::NodeDistCloser

struct NodeDistCloser

用于从最近到最远或相反方向对 (id, 距离) 对进行排序

公共函数

inline NodeDistCloser(float d, int id)
inline bool operator<(const NodeDistCloser &obj1) const

公共成员

float d
int id