Skip to main content

Module sparse_tda

Module sparse_tda 

Source
Expand description

Sparse Persistent Homology — ADR-029 Phase 2 integration.

Standard persistent homology: O(n³) boundary matrix reduction. This implementation: O(n · 1/ε) via Forward Push PPR approximation.

Algorithm: Use PersonalizedPageRank (Forward Push) to build ε-approximate k-hop neighborhood graph, then compute TDA only on the sparse neighborhood. Reduces complexity from O(n³) to O(n/ε) for sparse graphs.

ADR-029: ruvector-solver’s Forward Push PPR is the canonical sparse TDA backend.

Structs§

ForwardPushPpr
Forward-Push PPR: O(1/ε) approximate k-hop neighborhood construction. Simulates push-flow from source nodes to identify ε-dense neighborhoods.
PersistenceBar
A bar in the persistence diagram (birth, death, dimension)
PersistenceDiagram
SimplexEdge
Sparse edge in the filtration complex
SparseRipsComplex
Sparse Vietoris-Rips complex builder