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 
14 namespace Gudhi {
15 
16 namespace 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 
30  Simplex_handle null_simplex();
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>
64  Insertion_result_type insert_simplex_and_subfaces(Input_vertex_range const & vertex_range, Filtration_value filtration);
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 
81  double filtration(Simplex_handle sh);
82 };
83 
84 } // namespace witness_complex
85 
86 } // namespace Gudhi
87 
88 #endif // CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
The concept SimplicialComplexForWitness describes the requirements for a type to implement a simplici...
Definition: SimplicialComplexForWitness.h:22
Simplex_handle null_simplex()
Returns a Simplex_hanlde that is different from all simplex handles of the simplices.
Definition: SimplicialComplexForAlpha.h:14
Simplex_handle find(Input_vertex_range const &vertex_range)
Finds a simplex with vertices given by a range.
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 &#39;vertex_range&#39; in the simplicial...
unspecified Simplex_handle
Definition: SimplicialComplexForWitness.h:24
Value type for a filtration function on a cell complex.
Definition: FiltrationValue.h:20
double filtration(Simplex_handle sh)
Returns the filtration of the simplex given by the simplex handle &#39;sh&#39;.
Insertion_result_type insert_simplex(Input_vertex_range const &vertex_range, Filtration_value filtration)
Inserts a simplex with vertices from a given range &#39;vertex_range&#39; in the simplicial complex...
void set_dimension(int dimension)
Sets the dimension of the simplicial complex to &#39;dimension&#39;.
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition: SimplicialComplexForWitness.h:38
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