SimplicialComplexForAlpha.h
1 /* This file is part of the Gudhi Library. The Gudhi library
2  * (Geometric Understanding in Higher Dimensions) is a generic C++
3  * library for computational topology.
4  *
5  * Author(s): Vincent Rouvreau
6  *
7  * Copyright (C) 2016 INRIA
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
24 #define CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
25 
26 namespace Gudhi {
27 
28 namespace alpha_complex {
29 
35  typedef unspecified Simplex_handle;
37  typedef unspecified Vertex_handle;
39  typedef unspecified Filtration_value;
40 
42  std::size_t num_vertices();
43 
45  void set_dimension(int dimension);
46 
48  int dimension(Simplex_handle simplex);
49 
51  int assign_filtration(Simplex_handle simplex, Filtration_value filtration);
52 
55  void insert_simplex_and_subfaces(std::vector<Vertex_handle> const & vertex_range, Filtration_value filtration);
56 
59 
61  void prune_above_filtration(Filtration_value filtration);
62 
66  typedef unspecified Simplex_vertex_range;
67 
70  Simplex_vertex_range simplex_vertex_range(Simplex_handle const & simplex);
71 
75  typedef unspecified Boundary_simplex_range;
76 
78  Boundary_simplex_range boundary_simplex_range(Simplex_handle const & simplex);
79 
82  typedef unspecified Insertion_result_type;
83 };
84 
85 } // namespace alpha_complex
86 
87 } // namespace Gudhi
88 
89 #endif // CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
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_vertex_range simplex_vertex_range(Simplex_handle const &simplex)
Returns a range over vertices of a given simplex.
Definition: SimplicialComplexForAlpha.h:26
unspecified Vertex_handle
Definition: SimplicialComplexForAlpha.h:37
The concept SimplicialComplexForAlpha describes the requirements for a type to implement a simplicial...
Definition: SimplicialComplexForAlpha.h:33
void prune_above_filtration(Filtration_value filtration)
unspecified Boundary_simplex_range
Iterator over the boundaries of the complex, in an arbitrary order.
Definition: SimplicialComplexForAlpha.h:75
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition: SimplicialComplexForAlpha.h:82
int assign_filtration(Simplex_handle simplex, Filtration_value filtration)
unspecified Simplex_handle
Definition: SimplicialComplexForAlpha.h:35
unspecified Simplex_vertex_range
Iterator over vertices of a simplex.
Definition: SimplicialComplexForAlpha.h:66
Boundary_simplex_range boundary_simplex_range(Simplex_handle const &simplex)
Returns a range over boundaries of a given simplex.
unspecified Filtration_value
Definition: SimplicialComplexForAlpha.h:39
GUDHI  Version 2.0.1  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. Generated on Mon Oct 2 2017 10:20:49 for GUDHI by doxygen 1.8.11