Loading...
Searching...
No Matches
SimplicialComplexForWitness.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): Siargey Kachanovich
4 *
5 * Copyright (C) 2014 Inria
6 *
7 * Modification(s):
8 * - YYYY/MM Author: Description of the modification
9 */
10
11#ifndef CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
12#define CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
13
14namespace Gudhi {
15
16namespace witness_complex {
17
24 typedef unspecified Simplex_handle;
25 // /** Handle to specify a vertex. Must be a non-negative integer. */
26 // typedef unspecified Vertex_handle;
27
31
34 std::size_t num_vertices();
35
38 typedef unspecified Insertion_result_type;
39
49 template< typedef Input_vertex_range >
50 Insertion_result_type insert_simplex(Input_vertex_range const & vertex_range, Filtration_value filtration);
51
62 template< typedef Input_vertex_range,
63 typedef Filtration_value>
65
70 template< typedef Input_vertex_range >
71 Simplex_handle find(Input_vertex_range const & vertex_range);
72
76 void set_dimension(int dimension);
77
82};
83
84} // namespace witness_complex
85
86} // namespace Gudhi
87
88#endif // CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
Value type for a filtration function on a cell complex.
Definition: FiltrationValue.h:20
The concept SimplicialComplexForWitness describes the requirements for a type to implement a simplici...
Definition: SimplicialComplexForWitness.h:22
double filtration(Simplex_handle sh)
Returns the filtration of the simplex given by the simplex handle 'sh'.
void set_dimension(int dimension)
Sets the dimension of the simplicial complex to 'dimension'.
Insertion_result_type insert_simplex_and_subfaces(Input_vertex_range const &vertex_range, Filtration_value filtration)
Inserts a simplex and all its faces with vertices from a given range 'vertex_range' in the simplicial...
Insertion_result_type insert_simplex(Input_vertex_range const &vertex_range, Filtration_value filtration)
Inserts a simplex with vertices from a given range 'vertex_range' in the simplicial complex....
Simplex_handle find(Input_vertex_range const &vertex_range)
Finds a simplex with vertices given by a range.
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition: SimplicialComplexForWitness.h:38
Simplex_handle null_simplex()
Returns a Simplex_hanlde that is different from all simplex handles of the simplices.
unspecified Simplex_handle
Definition: SimplicialComplexForWitness.h:24