Computes the persistent cohomology of a filtered complex. More...
Public Member Functions | |
Persistent_cohomology (Complex_ds &cpx) | |
Initializes the Persistent_cohomology class. More... | |
Persistent_cohomology (Complex_ds &cpx, bool persistence_dim_max) | |
Initializes the Persistent_cohomology class. More... | |
void | init_coefficients (int charac) |
Initializes the coefficient field. | |
void | init_coefficients (int charac_min, int charac_max) |
Initializes the coefficient field for multi-field persistent homology. | |
void | compute_persistent_cohomology (Filtration_value min_interval_length=0) |
Compute the persistent homology of the filtered simplicial complex. More... | |
void | output_diagram (std::ostream &ostream=std::cout) |
Output the persistence diagram in ostream. More... | |
std::vector< int > | betti_numbers () const |
Returns Betti numbers. More... | |
int | betti_number (int dimension) const |
Returns the Betti number of the dimension passed by parameter. More... | |
std::vector< int > | persistent_betti_numbers (Filtration_value from, Filtration_value to) const |
Returns the persistent Betti numbers. More... | |
int | persistent_betti_number (int dimension, Filtration_value from, Filtration_value to) const |
Returns the persistent Betti number of the dimension passed by parameter. More... | |
const std::vector< Persistent_interval > & | get_persistent_pairs () const |
Returns the persistent pairs. More... | |
std::vector< std::pair< Filtration_value, Filtration_value > > | intervals_in_dimension (int dimension) |
Returns persistence intervals for a given dimension. More... | |
Additional Inherited Members | |
![]() | |
typedef unspecified | Filtered_complex |
Type of filtered cell complex on which persistent homology is computed. More... | |
typedef unspecified | Coefficient_field |
Type of coefficients to be used for computing persistent homology. More... | |
Computes the persistent cohomology of a filtered complex.
The computation is implemented with a Compressed Annotation Matrix (CAM)[7], and is adapted to the computation of Multi-Field Persistent Homology (MF) [5] .
|
inlineexplicit |
Initializes the Persistent_cohomology class.
[in] | cpx | Complex for which the persistent homology is computed. cpx is a model of FilteredComplex |
std::out_of_range | In case the number of simplices is more than Simplex_key type numeric limit. |
|
inline |
Initializes the Persistent_cohomology class.
[in] | cpx | Complex for which the persistent homology is compiuted. cpx is a model of FilteredComplex |
[in] | persistence_dim_max | if true, the persistent homology for the maximal dimension in the complex is computed. If false, it is ignored. Default is false. |
|
inline |
Returns the Betti number of the dimension passed by parameter.
[in] | dimension | The Betti number dimension to get. |
|
inline |
Returns Betti numbers.
|
inline |
Compute the persistent homology of the filtered simplicial complex.
[in] | min_interval_length | the computation discards all intervals of length less or equal than min_interval_length |
Assumes that the filtration provided by the simplicial complex is valid. Undefined behavior otherwise.
|
inline |
Returns the persistent pairs.
|
inline |
Returns persistence intervals for a given dimension.
[in] | dimension | Dimension to get the birth and death pairs from. |
|
inline |
Output the persistence diagram in ostream.
The file format is the following: p1*...*pr dim b d
where "dim" is the dimension of the homological feature, b and d are respectively the birth and death of the feature and p1*...*pr is the product of prime numbers pi such that the homology feature exists in homology with Z/piZ coefficients.
|
inline |
Returns the persistent Betti number of the dimension passed by parameter.
[in] | dimension | The Betti number dimension to get. |
[in] | from | The persistence birth limit to be added in the number \((persistent birth \leq from)\). |
[in] | to | The persistence death limit to be added in the number \((persistent death > to)\). |
|
inline |
Returns the persistent Betti numbers.
[in] | from | The persistence birth limit to be added in the number \((persistent birth \leq from)\). |
[in] | to | The persistence death limit to be added in the number \((persistent death > to)\). |
GUDHI Version 2.2.0 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : GPL v3 | Generated on Thu Jun 14 2018 15:00:55 for GUDHI by Doxygen 1.8.13 |