Loading...
Searching...
No Matches
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;
27 typedef unspecified Filtration_value;
28
30 std::size_t num_vertices();
31
34
37
40 void insert_simplex_and_subfaces(std::vector<Vertex_handle> const & vertex_range, Filtration_value filtration);
41
44
47
51 typedef unspecified Simplex_vertex_range;
52
55
59 typedef unspecified Boundary_simplex_range;
60
63
67 typedef unspecified Skeleton_simplex_range;
71
74 typedef unspecified Insertion_result_type;
75
82 typedef unspecified Simplex_key;
93};
94
95} // namespace alpha_complex
96
97} // namespace Gudhi
98
99#endif // CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
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:70
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:59
unspecified Skeleton_simplex_range
Iterator over the simplices of the skeleton of the complex, for a given dimension.
Definition: SimplicialComplexForAlpha.h:67
unspecified Simplex_key
Data stored for each simplex.
Definition: SimplicialComplexForAlpha.h:82
unspecified Simplex_handle
Definition: SimplicialComplexForAlpha.h:23
unspecified Simplex_vertex_range
Iterator over vertices of a simplex.
Definition: SimplicialComplexForAlpha.h:51
unspecified Vertex_handle
Definition: SimplicialComplexForAlpha.h:25
unspecified Filtration_value
Definition: SimplicialComplexForAlpha.h:27
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition: SimplicialComplexForAlpha.h:74