Skip to main content

scirs2_transform/tda/
mod.rs

1//! Topological Data Analysis (TDA) module
2//!
3//! This module provides advanced TDA algorithms:
4//!
5//! - [`alpha_complex`]: Alpha complex filtration via Bowyer-Watson Delaunay triangulation
6//! - [`cubical_complex`]: Cubical complex persistence for image/grid data
7//! - [`zigzag`]: Zigzag persistence for sequences of simplicial complexes
8//! - `gromov_wasserstein`: Gromov-Wasserstein distance and multi-marginal OT
9//!
10//! ## References
11//!
12//! - Edelsbrunner & Harer (2010). Computational Topology.
13//! - Carlsson (2009). Topology and Data.
14//! - Mémoli (2011). Gromov-Wasserstein Distances.
15
16pub mod alpha_complex;
17pub mod cubical_complex;
18pub mod gromov_wasserstein;
19pub mod zigzag;
20
21// Re-export key public types
22pub use alpha_complex::{AlphaComplex, AlphaConfig, Simplex};
23pub use cubical_complex::{CubicalCell, CubicalComplex, CubicalConfig};
24pub use gromov_wasserstein::{
25    gromov_wasserstein, multi_marginal_ot, sinkhorn_log_stabilized, GwConfig, GwResult,
26};
27pub use zigzag::{compute_zigzag, ZigzagDirection, ZigzagPersistence, ZigzagStep};
28
29// Re-export VietorisRips from the tda_vr module so doc tests can use
30// `scirs2_transform::tda::VietorisRips`
31pub use crate::tda_vr::{PersistenceDiagram, PersistencePoint, VietorisRips};