Skip to main content

Module graph

Module graph 

Source
Expand description

GraphProjection — HNSW neighbor topology + p-adic address.

Stores the atom’s position in the approximate nearest neighbor graph and its hierarchical locality label (p-adic address).

Structs§

GraphProjection
PadicAddr
P-adic address: hierarchical locality label. Format: “kindIndex.depth.counter” encoded as (base: u32, coeff0: u16, coeff1: u16).

Constants§

MAX_NEIGHBORS
Max neighbor slots per atom in the HNSW graph.