Classes | |
class | Gudhi::cech_complex::Cech_complex< SimplicialComplexForProximityGraph, ForwardPointRange > |
Cech complex data structure. More... | |
Čech complex (Wikipedia) is a simplicial complex constructed from a proximity graph. The set of all simplices is filtered by the radius of their minimal enclosing ball.
The input shall be a point cloud in an Euclidean space.
Cech_complex first builds a proximity graph from a point cloud. The filtration value of each edge of the Gudhi::Proximity_graph
is computed from Gudhi::Minimal_enclosing_ball_radius
function.
All edges that have a filtration value strictly greater than a user given maximal radius value, \(max\_radius\), are not inserted into the complex.
Vertex name correspond to the index of the point in the given range (aka. the point cloud).
When creating a simplicial complex from this proximity graph, Cech_complex inserts the proximity graph into the simplicial complex data structure, and then expands the simplicial complex when required.
On this example, as edges \((x,y)\), \((y,z)\) and \((z,y)\) are in the complex, the minimal ball radius containing the points \((x,y,z)\) is computed.
\((x,y,z)\) is inserted to the simplicial complex with the filtration value set with \(mini\_ball\_radius(x,y,z))\) iff \(mini\_ball\_radius(x,y,z)) \leq max\_radius\).
And so on for higher dimensions.
The minimal ball radius computation is insured by the miniball software (V3.0) - Smallest Enclosing Balls of Points - and distributed with GUDHI. Please refer to the miniball software design description for more information about this computation.
This radius computation is the reason why the Cech_complex is taking much more time to be computed than the Rips complex but it offers more topological guarantees.
If the Cech_complex interfaces are not detailed enough for your need, please refer to cech_complex_step_by_step.cpp example, where the graph construction over the Simplex_tree is more detailed.
This example builds the proximity graph from the given points, and maximal radius values. Then it creates a Simplex_tree
with it.
Then, it is asked to display information about the simplicial complex.
When launching (maximal enclosing ball radius is 1., is expanded until dimension 2):
the program output is:
GUDHI Version 3.1.1 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : MIT | Generated on Fri Feb 7 2020 16:35:36 for GUDHI by Doxygen 1.8.13 |