Skeleton_blocker_link_superior.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): David Salinas
6  *
7  * Copyright (C) 2014 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 SKELETON_BLOCKER_SKELETON_BLOCKER_LINK_SUPERIOR_H_
24 #define SKELETON_BLOCKER_SKELETON_BLOCKER_LINK_SUPERIOR_H_
25 
26 #include <gudhi/Skeleton_blocker_link_complex.h>
27 
28 namespace Gudhi {
29 
30 namespace skeleton_blocker {
31 
32 template<class ComplexType> class Skeleton_blocker_sub_complex;
33 
38 template<typename ComplexType>
40 ComplexType> {
41  typedef typename ComplexType::Edge_handle Edge_handle;
42 
43  typedef typename ComplexType::boost_vertex_handle boost_vertex_handle;
44 
45  public:
46  typedef typename ComplexType::Vertex_handle Vertex_handle;
47  typedef typename ComplexType::Root_vertex_handle Root_vertex_handle;
48  typedef typename ComplexType::Simplex Simplex;
49  typedef typename ComplexType::Root_simplex_handle Root_simplex_handle;
50  typedef typename ComplexType::BlockerMap BlockerMap;
51  typedef typename ComplexType::BlockerPair BlockerPair;
52  typedef typename ComplexType::BlockerMapIterator BlockerMapIterator;
53  typedef typename ComplexType::BlockerMapConstIterator BlockerMapConstIterator;
54  typedef typename ComplexType::Simplex::Simplex_vertex_const_iterator AddressSimplexConstIterator;
55  typedef typename ComplexType::Root_simplex_handle::Simplex_vertex_const_iterator IdSimplexConstIterator;
56 
59 
60  Skeleton_blocker_link_superior(const ComplexType & parent_complex,
61  Simplex& alpha_parent_adress)
63  alpha_parent_adress, true) { }
64 
65  Skeleton_blocker_link_superior(const ComplexType & parent_complex,
66  Vertex_handle a_parent_adress)
68  a_parent_adress, true) { }
69 };
70 
71 } // namespace skeleton_blocker
72 
73 namespace skbl = skeleton_blocker;
74 
75 } // namespace Gudhi
76 
77 #endif // SKELETON_BLOCKER_SKELETON_BLOCKER_LINK_SUPERIOR_H_
Simplicial subcomplex of a complex represented by a skeleton/blockers pair.
Definition: Skeleton_blocker_link_superior.h:32
Definition: SimplicialComplexForAlpha.h:26
GUDHI  Version 2.2.0  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : GPL v3 Generated on Thu Jun 14 2018 15:00:54 for GUDHI by Doxygen 1.8.13