#include <IndexHNSW.h>
Public Member Functions | |
| virtual void | set_query (const float *x)=0 |
| called before computing distances | |
| virtual float | operator() (storage_idx_t i)=0 |
| compute distance of vector i to current query | |
| virtual float | symmetric_dis (storage_idx_t i, storage_idx_t j)=0 |
| compute distance between two stored vectors | |
Public Attributes | |
| idx_t | d |
The HNSW structure does not store vectors, it only accesses them through this class.
Functions are guaranteed to be be accessed only from 1 thread.
Definition at line 52 of file IndexHNSW.h.
1.8.5