nodedb_vector/hnsw/graph/mod.rs
1// SPDX-License-Identifier: Apache-2.0
2
3//! HNSW graph structure — nodes, parameters, core index operations.
4//!
5//! Production implementation per Malkov & Yashunin (2018).
6//! FP32 construction for structural integrity; heuristic neighbor selection.
7
8pub mod index;
9mod limits;
10pub mod types;
11
12pub(crate) use limits::ARENA_INITIAL_CAPACITY;
13pub use limits::MAX_LAYER_CAP;
14
15pub use index::HnswIndex;
16pub use nodedb_types::hnsw::HnswParams;
17pub(crate) use types::Probe;
18pub use types::{Candidate, Node, NodeStorage, SearchResult, Xorshift64};