The concept SimplicialComplexForWitness describes the requirements for a type to implement a simplicial complex, used for example to build a Witness_complex or Strong_witness_complex. More...
Public Types | |
typedef unspecified | Simplex_handle |
typedef unspecified | Insertion_result_type |
Return type of an insertion of a simplex. | |
Public Member Functions | |
Simplex_handle | null_simplex () |
Returns a Simplex_hanlde that is different from all simplex handles of the simplices. | |
std::size_t | num_vertices () |
template<typedef Input_vertex_range> | |
Insertion_result_type | insert_simplex (Input_vertex_range const &vertex_range, Filtration_value filtration) |
Inserts a simplex with vertices from a given range 'vertex_range' in the simplicial complex. The function is only used in Witness_complex class and by construction, it is not necessary to check if the faces are in the simplicial complex before insertion. The simplex is given the filtration value 'filtration'. Filtration_value should be convertible from double. The return type is not used. | |
template<typedef Input_vertex_range, typedef Filtration_value> | |
Insertion_result_type | insert_simplex_and_subfaces (Input_vertex_range const &vertex_range, Filtration_value filtration) |
Inserts a simplex and all its faces with vertices from a given range 'vertex_range' in the simplicial complex. The function is only used in Strong_witness_complex class. All inserted simplices are given the filtration value 'filtration'. Filtration_value should be convertible from double. The return type is not used. | |
template<typedef Input_vertex_range> | |
Simplex_handle | find (Input_vertex_range const &vertex_range) |
Finds a simplex with vertices given by a range. More... | |
void | set_dimension (int dimension) |
Sets the dimension of the simplicial complex to 'dimension'. | |
double | filtration (Simplex_handle sh) |
Returns the filtration of the simplex given by the simplex handle 'sh'. | |
The concept SimplicialComplexForWitness describes the requirements for a type to implement a simplicial complex, used for example to build a Witness_complex or Strong_witness_complex.
typedef unspecified Gudhi::witness_complex::SimplicialComplexForWitness::Simplex_handle |
Handle to specify a simplex.
Simplex_handle Gudhi::witness_complex::SimplicialComplexForWitness::find | ( | Input_vertex_range const & | vertex_range | ) |
Finds a simplex with vertices given by a range.
If a simplex exists, its Simplex_handle is returned. Otherwise null_simplex() is returned.
std::size_t Gudhi::witness_complex::SimplicialComplexForWitness::num_vertices | ( | ) |
Returns the number of vertices in the simplicial complex
GUDHI Version 3.5.0 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : MIT | Generated on Thu Jan 13 2022 08:34:28 for GUDHI by Doxygen 1.9.2 |