Loading...
Searching...
No Matches
simplex_tree_options.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) 2023 Inria
6 *
7 * Modification(s):
8 * - YYYY/MM Author: Description of the modification
9 */
10
11#ifndef SIMPLEX_TREE_SIMPLEX_TREE_OPTIONS_H_
12#define SIMPLEX_TREE_SIMPLEX_TREE_OPTIONS_H_
13
14#include <gudhi/Simplex_tree/indexing_tag.h>
15
16#include <cstdint>
17
18namespace Gudhi {
19
33 typedef int Vertex_handle;
34 typedef double Filtration_value;
35 typedef std::uint32_t Simplex_key;
36 static const bool store_key = true;
37 static const bool store_filtration = true;
38 static const bool contiguous_vertices = false;
39 static const bool link_nodes_by_label = false;
40 static const bool stable_simplex_handles = false;
41};
42
49 typedef int Vertex_handle;
50 typedef double Filtration_value;
51 typedef std::uint32_t Simplex_key;
52 static const bool store_key = true;
53 static const bool store_filtration = true;
54 static const bool contiguous_vertices = false;
55 static const bool link_nodes_by_label = true;
56 static const bool stable_simplex_handles = true;
57};
58
65 typedef int Vertex_handle;
66 typedef double Filtration_value;
67 typedef std::uint32_t Simplex_key;
68 static const bool store_key = false;
69 static const bool store_filtration = false;
70 static const bool contiguous_vertices = false;
71 static const bool link_nodes_by_label = false;
72 static const bool stable_simplex_handles = false;
73};
74
80struct Simplex_tree_options_fast_persistence {
81 typedef linear_indexing_tag Indexing_tag;
82 typedef int Vertex_handle;
83 typedef float Filtration_value;
84 typedef std::uint32_t Simplex_key;
85 static const bool store_key = true;
86 static const bool store_filtration = true;
87 static const bool contiguous_vertices = true;
88 static const bool link_nodes_by_label = false;
89 static const bool stable_simplex_handles = false;
90};
91 // end addtogroup simplex_tree
93
94} // namespace Gudhi
95
96#endif // SIMPLEX_TREE_SIMPLEX_TREE_OPTIONS_H_
Value type for a filtration function on a cell complex.
Definition: FiltrationValue.h:20
Definition: simplex_tree_options.h:31
Definition: simplex_tree_options.h:63
Tag for a linear ordering of simplices.
Definition: indexing_tag.h:20
Handle type for the vertices of a cell complex.
Definition: VertexHandle.h:15