Skip to main content

Module graph

Module graph 

Source
Expand description

HNSW graph structure โ€” nodes, parameters, checkpoint serialization.

Production implementation per Malkov & Yashunin (2018). Adapted for edge devices: no SIMD runtime dispatch, no Roaring bitmap (those are in the Origin). Pure scalar distance functions.

Structsยง

HnswIndex
Hierarchical Navigable Small World graph index.
HnswParams
HNSW index parameters shared between Origin and Lite.
SearchResult
Result of a k-NN search.