|
|
| GenericDistanceComputer (const Index &storage) |
| |
|
float | operator() (storage_idx_t i) override |
| |
|
float | symmetric_dis (storage_idx_t i, storage_idx_t j) override |
| |
|
void | set_query (const float *x) override |
| | 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
|
| |
|
|
const Index & | storage |
| |
|
std::vector< float > | buf |
| |
|
const float * | q |
| |
|
idx_t | d |
| |
Definition at line 1322 of file IndexHNSW.cpp.
The documentation for this struct was generated from the following file: