Faiss

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | List of all members
faiss::PQDis Struct Reference
Inheritance diagram for faiss::PQDis:

## Public Member Functions
float | operator() (storage_idx_t i) override
float | symmetric_dis (storage_idx_t i, storage_idx_t j) override
| PQDis (const IndexPQ &storage, const float *q=nullptr)
void | set_query (const float *x) override
| called before computing distances
Public Member Functions inherited from faiss::HNSW::DistanceComputer
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
Index::idx_t | nb
const uint8_t * | codes
size_t | code_size
const ProductQuantizer & | pq
const float * | sdc
std::vector< float > | precomputed_table
size_t | ndis
Public Attributes inherited from faiss::HNSW::DistanceComputer
idx_t | d

## Detailed Description

Definition at line 1661 of file IndexHNSW.cpp.

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

- /data/users/matthijs/github_faiss/faiss/IndexHNSW.cpp