Skip to main content

Module pairs

Module pairs 

Source
Expand description

Near, mid-near, and further pair construction from Algorithm 1.

All pair indices are u32; the entry guard in lib.rs ensures n ≤ u32::MAX. All multiplications use checked_mul before any allocation.

Structs§

Pairs
Pre-allocated pair storage for all three pair types.

Functions§

build_pairs
Build all three pair types from pre-computed KNN results.