HNSW.Net Namespace
The public API of HNSW-Sharp. Every type lives in the HNSW.Net namespace and
ships in HNSW.Net.dll. The entry point is SmallWorld<TItem, TDistance>;
the other types configure it, supply distances, and report build progress.
Definition
Namespace: HNSW.Net
Classes
| Class | Description |
|---|---|
SmallWorld<TItem, TDistance> |
The HNSW graph. Builds the index, adds items, and runs k-NN search. |
SmallWorldParameters |
The configuration object passed to a SmallWorld<TItem, TDistance>. |
CosineDistance |
Static cosine distance functions for float[] vectors. |
Interfaces
| Interface | Description |
|---|---|
IProgressReporter |
Callback hook for reporting progress during a long AddItems call. |
Related
- What is HNSW? — the concepts behind the API.
- Quick start — the API used end to end.
- Guides — build, search, serialize, and filter, task by task.