#include <gudhi/Simplex_tree.h>
#include <iostream>
#include <initializer_list>
typedef short Vertex_handle;
};
"Not storing the filtration and key should save some space");
int main() {
ST st;
auto triangle012 = {0, 1, 2};
auto edge03 = {0, 3};
auto edge02 = {0, 2};
std::clog << v;
std::clog << '\n';
}
}
Simplex Tree data structure for representing simplicial complexes.
Definition Simplex_tree.h:101
Simplex_vertex_range simplex_vertex_range(Simplex_handle sh) const
Returns a range over the vertices of a simplex.
Definition Simplex_tree.h:407
std::pair< Simplex_handle, bool > insert_simplex_and_subfaces(const InputVertexRange &n_simplex, const Filtration_value &filtration=Filtration_value())
Inserts a N-simplex and all his subfaces, from a N-simplex represented by a range of Vertex_handles,...
Definition Simplex_tree.h:1191
Dictionary::const_iterator Simplex_handle
Definition Simplex_tree.h:212
static const Filtration_value & filtration(Simplex_handle sh)
Returns the filtration value of a simplex.
Definition Simplex_tree.h:765
Options::Vertex_handle Vertex_handle
Definition Simplex_tree.h:122
Cofaces_simplex_range cofaces_simplex_range(const Simplex_handle simplex, int codimension) const
Compute the cofaces of a n simplex.
Definition Simplex_tree.h:1645
Simplex_handle find(const InputVertexRange &s) const
Given a range of Vertex_handles, returns the Simplex_handle of the simplex in the simplicial complex ...
Definition Simplex_tree.h:937
Definition simplex_tree_options.h:64