Toplex map data structure for representing unfiltered simplicial complexes.
More...
Toplex map data structure for representing unfiltered simplicial complexes.
A Toplex_map is an unordered map from vertices to maximal simplices (aka. toplices).
- Examples
- simple_toplex_map.cpp.
◆ Simplex
◆ Simplex_ptr
The type of the pointers to maximal simplices.
◆ Simplex_ptr_set
◆ Vertex
Vertex is the type of vertices.
◆ contraction()
Contracts one edge in the complex. The edge has to verify the link condition if you want to preserve topology. Returns the remaining vertex.
- Examples
- simple_toplex_map.cpp.
◆ insert_independent_simplex()
template<typename Input_vertex_range >
void Gudhi::Toplex_map::insert_independent_simplex |
( |
const Input_vertex_range & |
vertex_range | ) |
|
Adds the given simplex to the complex. The simplex must not be in the complex already, and it must not contain one of the current toplices.
◆ maximal_cofaces()
template<typename Input_vertex_range >
Toplex_map::Simplex_ptr_set Gudhi::Toplex_map::maximal_cofaces |
( |
const Input_vertex_range & |
vertex_range, |
|
|
const std::size_t |
max_number = 0 |
|
) |
| const |
Gives a set of pointers to the maximal cofaces of a simplex. Gives all the toplices if given the empty simplex. Gives not more than max_number maximal cofaces if max_number is strictly positive.
- Examples
- simple_toplex_map.cpp.
◆ maximal_simplices()
Gives a set of pointers to the maximal simplices. Gives not more than max_number maximal cofaces if max_number is strictly positive.
- Examples
- simple_toplex_map.cpp.
◆ maximality()
template<typename Input_vertex_range >
bool Gudhi::Toplex_map::maximality |
( |
const Input_vertex_range & |
vertex_range | ) |
const |
Does a simplex is a toplex ?
◆ membership()
template<typename Input_vertex_range >
bool Gudhi::Toplex_map::membership |
( |
const Input_vertex_range & |
vertex_range | ) |
const |
◆ remove_vertex()
void Gudhi::Toplex_map::remove_vertex |
( |
const Vertex |
x | ) |
|
The documentation for this class was generated from the following file: