SimplicialComplexForAlpha.h
1/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
2 * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
3 * Author(s): Vincent Rouvreau
4 *
5 * Copyright (C) 2016 Inria
6 *
7 * Modification(s):
8 * - YYYY/MM Author: Description of the modification
9 */
10
11#ifndef CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
12#define CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
13
14namespace Gudhi {
15
16namespace alpha_complex {
17
23 typedef unspecified Simplex_handle;
25 typedef unspecified Vertex_handle;
29 typedef unspecified Filtration_value;
30
32 std::size_t num_vertices();
33
36
39
42 void insert_simplex_and_subfaces(std::vector<Vertex_handle> const & vertex_range, Filtration_value filtration);
43
46
49
53 typedef unspecified Simplex_vertex_range;
54
57
61 typedef unspecified Boundary_simplex_range;
62
65
69 typedef unspecified Skeleton_simplex_range;
73
76 typedef unspecified Insertion_result_type;
77
84 typedef unspecified Simplex_key;
95};
96
97} // namespace alpha_complex
98
99} // namespace Gudhi
100
101#endif // CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
Gudhi namespace.
Definition: SimplicialComplexForAlpha.h:14
The concept SimplicialComplexForAlpha describes the requirements for a type to implement a simplicial...
Definition: SimplicialComplexForAlpha.h:21
Skeleton_simplex_range skeleton_simplex_range
Returns a range over the simplices of the skeleton of the simplicial complex, for a given dimension.
Definition: SimplicialComplexForAlpha.h:72
int assign_filtration(Simplex_handle simplex, Filtration_value filtration)
Boundary_simplex_range boundary_simplex_range(Simplex_handle const &simplex)
Returns a range over boundaries of a given simplex.
void prune_above_filtration(Filtration_value filtration)
Simplex_key null_key()
Returns a constant dummy number that is either negative, or at least as large as the number of simpli...
void assign_key(Simplex_handle sh, Simplex_key n)
Store a number for a simplex, which can later be retrieved with key().
Simplex_vertex_range simplex_vertex_range(Simplex_handle const &simplex)
Returns a range over vertices of a given simplex.
void insert_simplex_and_subfaces(std::vector< Vertex_handle > const &vertex_range, Filtration_value filtration)
Inserts a simplex with vertices from a given simplex (represented by a vector of Vertex_handle) in th...
Simplex_key key(Simplex_handle sh)
Returns the number stored for a simplex by assign_key().
unspecified Boundary_simplex_range
Iterator over the boundaries of the complex, in an arbitrary order.
Definition: SimplicialComplexForAlpha.h:61
unspecified Skeleton_simplex_range
Iterator over the simplices of the skeleton of the complex, for a given dimension.
Definition: SimplicialComplexForAlpha.h:69
unspecified Simplex_key
Data stored for each simplex.
Definition: SimplicialComplexForAlpha.h:84
unspecified Simplex_handle
Definition: SimplicialComplexForAlpha.h:23
unspecified Simplex_vertex_range
Iterator over vertices of a simplex.
Definition: SimplicialComplexForAlpha.h:53
unspecified Vertex_handle
Definition: SimplicialComplexForAlpha.h:25
unspecified Filtration_value
Definition: SimplicialComplexForAlpha.h:29
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition: SimplicialComplexForAlpha.h:76