|
template<typename RandomAccessPointRange , typename Distance > |
| Sparse_rips_complex (const RandomAccessPointRange &points, Distance distance, double const epsilon, Filtration_value const mini=-std::numeric_limits< Filtration_value >::infinity(), Filtration_value const maxi=std::numeric_limits< Filtration_value >::infinity()) |
| Sparse_rips_complex constructor from a list of points. More...
|
|
template<typename DistanceMatrix > |
| Sparse_rips_complex (const DistanceMatrix &distance_matrix, double const epsilon, Filtration_value const mini=-std::numeric_limits< Filtration_value >::infinity(), Filtration_value const maxi=std::numeric_limits< Filtration_value >::infinity()) |
| Sparse_rips_complex constructor from a distance matrix. More...
|
|
template<typename SimplicialComplexForRips > |
void | create_complex (SimplicialComplexForRips &complex, int const dim_max) |
| Fills the simplicial complex with the sparse Rips graph and expands it with all the cliques, stopping at a given maximal dimension. More...
|
|
template<typename Filtration_value>
class Gudhi::rips_complex::Sparse_rips_complex< Filtration_value >
Sparse Rips complex data structure.
This class is used to construct a sparse \((1+O(\epsilon))\)-approximation of Rips_complex
, i.e. a filtered simplicial complex that is multiplicatively \((1+O(\epsilon))\)-interleaved with the Rips filtration. More precisely, this is a \((1,\frac{1}{1-\epsilon}\)-interleaving.
- Template Parameters
-
Filtration_value | is the type used to store the filtration values of the simplicial complex. |
- Examples
- example_sparse_rips.cpp, and sparse_rips_persistence.cpp.