Loading...
Searching...
No Matches
SimplicialComplexForMEB.h
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Marc Glisse
*
* Copyright (C) 2018 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
#ifndef CONCEPT_CECH_COMPLEX_SIMPLICIAL_COMPLEX_FOR_MEB_H_
#define CONCEPT_CECH_COMPLEX_SIMPLICIAL_COMPLEX_FOR_MEB_H_
namespace Gudhi {
namespace cech_complex {
struct SimplicialComplexForMEB {
typedef unspecified Simplex_handle;
typedef unspecified Vertex_handle;
typedef unspecified Filtration_value;
typedef unspecified Simplex_key;
Filtration_value filtration(Simplex_handle simplex);
int assign_filtration(Simplex_handle simplex, Filtration_value filtration);
Simplex_key key(Simplex_handle simplex);
void assign_key(Simplex_handle simplex, Simplex_key key);
Simplex_vertex_range simplex_vertex_range(Simplex_handle simplex);
Boundary_opposite_vertex_simplex_range boundary_opposite_vertex_simplex_range(Simplex_handle simplex);
void for_each_simplex(auto callback);
};
} // namespace cech_complex
} // namespace Gudhi
#endif // CONCEPT_CECH_COMPLEX_SIMPLICIAL_COMPLEX_FOR_MEB_H_
Gudhi
Gudhi namespace.
Definition SimplicialComplexForAlpha.h:14
Gudhi::cech_complex::SimplicialComplexForMEB
Definition SimplicialComplexForMEB.h:22
Gudhi::cech_complex::SimplicialComplexForMEB::Simplex_handle
unspecified Simplex_handle
Handle for a simplex.
Definition SimplicialComplexForMEB.h:24
Gudhi::cech_complex::SimplicialComplexForMEB::key
Simplex_key key(Simplex_handle simplex)
Returns the key assigned to the 'simplex' with assign_key().
Gudhi::cech_complex::SimplicialComplexForMEB::filtration
Filtration_value filtration(Simplex_handle simplex)
Returns the filtration value to the 'simplex'.
Gudhi::cech_complex::SimplicialComplexForMEB::boundary_opposite_vertex_simplex_range
Boundary_opposite_vertex_simplex_range boundary_opposite_vertex_simplex_range(Simplex_handle simplex)
Returns a range of the pairs (simplex, opposite vertex) of the boundary of the 'simplex'.
Gudhi::cech_complex::SimplicialComplexForMEB::Filtration_value
unspecified Filtration_value
Type of filtration values.
Definition SimplicialComplexForMEB.h:29
Gudhi::cech_complex::SimplicialComplexForMEB::Simplex_key
unspecified Simplex_key
Integer type large enough to index all simplices.
Definition SimplicialComplexForMEB.h:31
Gudhi::cech_complex::SimplicialComplexForMEB::assign_key
void assign_key(Simplex_handle simplex, Simplex_key key)
Assigns this 'key' to the 'simplex'.
Gudhi::cech_complex::SimplicialComplexForMEB::simplex_vertex_range
Simplex_vertex_range simplex_vertex_range(Simplex_handle simplex)
Returns a range over vertices (as Vertex_handle) of a given simplex.
Gudhi::cech_complex::SimplicialComplexForMEB::Vertex_handle
unspecified Vertex_handle
Handle for a vertex. Must be a non-negative integer, it is also used as an index into the input list ...
Definition SimplicialComplexForMEB.h:27
Gudhi::cech_complex::SimplicialComplexForMEB::assign_filtration
int assign_filtration(Simplex_handle simplex, Filtration_value filtration)
Assigns this 'filtration' value to the 'simplex'.
Gudhi::cech_complex::SimplicialComplexForMEB::for_each_simplex
void for_each_simplex(auto callback)
Calls callback(simplex, dim) for every simplex of the complex, with the guarantee that faces are visi...