Skeleton_blocker_link_superior.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): David Salinas
4  *
5  * Copyright (C) 2014 Inria
6  *
7  * Modification(s):
8  * - YYYY/MM Author: Description of the modification
9  */
10 
11 #ifndef SKELETON_BLOCKER_SKELETON_BLOCKER_LINK_SUPERIOR_H_
12 #define SKELETON_BLOCKER_SKELETON_BLOCKER_LINK_SUPERIOR_H_
13 
14 #include <gudhi/Skeleton_blocker_link_complex.h>
15 
16 namespace Gudhi {
17 
18 namespace skeleton_blocker {
19 
20 template<class ComplexType> class Skeleton_blocker_sub_complex;
21 
26 template<typename ComplexType>
28 ComplexType> {
29  typedef typename ComplexType::Edge_handle Edge_handle;
30 
31  typedef typename ComplexType::boost_vertex_handle boost_vertex_handle;
32 
33  public:
34  typedef typename ComplexType::Vertex_handle Vertex_handle;
35  typedef typename ComplexType::Root_vertex_handle Root_vertex_handle;
36  typedef typename ComplexType::Simplex Simplex;
37  typedef typename ComplexType::Root_simplex_handle Root_simplex_handle;
38  typedef typename ComplexType::BlockerMap BlockerMap;
39  typedef typename ComplexType::BlockerPair BlockerPair;
40  typedef typename ComplexType::BlockerMapIterator BlockerMapIterator;
41  typedef typename ComplexType::BlockerMapConstIterator BlockerMapConstIterator;
42  typedef typename ComplexType::Simplex::Simplex_vertex_const_iterator AddressSimplexConstIterator;
43  typedef typename ComplexType::Root_simplex_handle::Simplex_vertex_const_iterator IdSimplexConstIterator;
44 
47 
48  Skeleton_blocker_link_superior(const ComplexType & parent_complex,
49  Simplex& alpha_parent_adress)
51  alpha_parent_adress, true) { }
52 
53  Skeleton_blocker_link_superior(const ComplexType & parent_complex,
54  Vertex_handle a_parent_adress)
56  a_parent_adress, true) { }
57 };
58 
59 } // namespace skeleton_blocker
60 
61 namespace skbl = skeleton_blocker;
62 
63 } // namespace Gudhi
64 
65 #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:20
Definition: SimplicialComplexForAlpha.h:14
GUDHI  Version 3.1.1  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : MIT Generated on Fri Feb 7 2020 16:35:36 for GUDHI by Doxygen 1.8.13