Loading...
Searching...
No Matches
SimplexTreeOptions.h
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Marc Glisse
*
* Copyright (C) 2015 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
struct SimplexTreeOptions {
typedef IndexingTag Indexing_tag;
typedef VertexHandle Vertex_handle;
typedef FiltrationValue Filtration_value;
typedef SimplexKey Simplex_key;
typedef SimplexData Simplex_data;
static const bool store_key;
static const bool store_filtration;
static constexpr bool contiguous_vertices;
static const bool link_nodes_by_label;
static const bool stable_simplex_handles;
};
FiltrationValue
Value type for a filtration function on a cell complex.
Definition FiltrationValue.h:20
IndexingTag
Concept describing an indexing scheme (see FilteredComplex) for applying continuous maps to a cell co...
Definition IndexingTag.h:18
SimplexKey
Key type used as simplex identifier.
Definition SimplexKey.h:15
SimplexTreeOptions
Concept of the template parameter for the class Gudhi::Simplex_tree<SimplexTreeOptions>.
Definition SimplexTreeOptions.h:17
SimplexTreeOptions::Filtration_value
FiltrationValue Filtration_value
Must be comparable with operator<.
Definition SimplexTreeOptions.h:23
SimplexTreeOptions::store_key
static const bool store_key
If true, each simplex has extra storage for one Simplex_key. Necessary for Persistent_cohomology.
Definition SimplexTreeOptions.h:29
SimplexTreeOptions::Vertex_handle
VertexHandle Vertex_handle
Must be a signed integer type. It admits a total order <.
Definition SimplexTreeOptions.h:21
SimplexTreeOptions::store_filtration
static const bool store_filtration
If true, each simplex has extra storage for one Filtration_value, and this value is propagated by ope...
Definition SimplexTreeOptions.h:34
SimplexTreeOptions::link_nodes_by_label
static const bool link_nodes_by_label
If true, the lists of Node with same label are stored to enhance cofaces and stars access.
Definition SimplexTreeOptions.h:39
SimplexTreeOptions::Indexing_tag
IndexingTag Indexing_tag
Forced for now.
Definition SimplexTreeOptions.h:19
SimplexTreeOptions::stable_simplex_handles
static const bool stable_simplex_handles
If true, Simplex_handle will not be invalidated after insertions or removals.
Definition SimplexTreeOptions.h:41
SimplexTreeOptions::contiguous_vertices
static constexpr bool contiguous_vertices
If true, the list of vertices present in the complex must always be 0, ..., num_vertices-1,...
Definition SimplexTreeOptions.h:37
SimplexTreeOptions::Simplex_data
SimplexData Simplex_data
Optional, can be omitted.
Definition SimplexTreeOptions.h:27
SimplexTreeOptions::Simplex_key
SimplexKey Simplex_key
Must be an integer type.
Definition SimplexTreeOptions.h:25
VertexHandle
Handle type for the vertices of a cell complex.
Definition VertexHandle.h:15