Expand description
Alpha complex filtration for 2D point clouds
Implements the Bowyer-Watson incremental Delaunay triangulation and uses circumradii as filtration values to build the alpha complex. Persistent homology is then computed via standard boundary-matrix column reduction.
§Algorithm
- Build Delaunay triangulation with Bowyer-Watson.
- Assign each simplex a filtration value = circumradius of its smallest
enclosing circle:
- 0-simplex (vertex): 0.0
- 1-simplex (edge): circumradius of the two-point “circle” = half edge length
- 2-simplex (triangle): circumradius of the circumscribed circle
- Sort all simplices by filtration value.
- Reduce the boundary matrix to extract persistence pairs.
Structs§
- Alpha
Complex - Alpha complex built from a 2D point cloud via Delaunay triangulation.
- Alpha
Config - Configuration for alpha complex construction.
- Simplex
- A simplex with an associated filtration value.
Functions§
- circumradius_
2d - Compute the circumradius of the triangle formed by points a, b, c in 2D.
- compute_
persistence_ from_ simplices - Compute persistence pairs from a filtered simplicial complex.
- sym_
diff_ sorted - Symmetric difference of two sorted vectors (mod-2 addition of columns).