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
16namespace Gudhi {
17
18namespace skeleton_blocker {
19
20template<class ComplexType> class Skeleton_blocker_sub_complex;
21
26template<typename ComplexType>
28ComplexType> {
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
61namespace skbl = skeleton_blocker;
62
63} // namespace Gudhi
64
65#endif // SKELETON_BLOCKER_SKELETON_BLOCKER_LINK_SUPERIOR_H_