Loading...
Searching...
No Matches
SimplicialComplexForWitness.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): Siargey Kachanovich
*
* Copyright (C) 2014 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
#ifndef CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
#define CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
namespace Gudhi {
namespace witness_complex {
struct SimplicialComplexForWitness {
typedef unspecified Simplex_handle;
// /** Handle to specify a vertex. Must be a non-negative integer. */
// typedef unspecified Vertex_handle;
Simplex_handle null_simplex();
std::size_t num_vertices();
typedef unspecified Insertion_result_type;
template< typedef Input_vertex_range >
Insertion_result_type insert_simplex(Input_vertex_range const & vertex_range, Filtration_value filtration);
template< typedef Input_vertex_range,
typedef Filtration_value>
Insertion_result_type insert_simplex_and_subfaces(Input_vertex_range const & vertex_range, Filtration_value filtration);
template< typedef Input_vertex_range >
Simplex_handle find(Input_vertex_range const & vertex_range);
void set_dimension(int dimension);
double filtration(Simplex_handle sh);
};
} // namespace witness_complex
} // namespace Gudhi
#endif // CONCEPT_WITNESS_COMPLEX_SIMPLICIAL_COMPLEX_FOR_WITNESS_H_
Gudhi
Gudhi namespace.
Definition SimplicialComplexForAlpha.h:14
Gudhi::witness_complex::SimplicialComplexForWitness
The concept SimplicialComplexForWitness describes the requirements for a type to implement a simplici...
Definition SimplicialComplexForWitness.h:22
Gudhi::witness_complex::SimplicialComplexForWitness::num_vertices
std::size_t num_vertices()
Gudhi::witness_complex::SimplicialComplexForWitness::filtration
double filtration(Simplex_handle sh)
Returns the filtration of the simplex given by the simplex handle 'sh'.
Gudhi::witness_complex::SimplicialComplexForWitness::set_dimension
void set_dimension(int dimension)
Sets the dimension of the simplicial complex to 'dimension'.
Gudhi::witness_complex::SimplicialComplexForWitness::insert_simplex_and_subfaces
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...
Gudhi::witness_complex::SimplicialComplexForWitness::insert_simplex
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....
Gudhi::witness_complex::SimplicialComplexForWitness::find
Simplex_handle find(Input_vertex_range const &vertex_range)
Finds a simplex with vertices given by a range.
Gudhi::witness_complex::SimplicialComplexForWitness::Insertion_result_type
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition SimplicialComplexForWitness.h:38
Gudhi::witness_complex::SimplicialComplexForWitness::null_simplex
Simplex_handle null_simplex()
Returns a Simplex_hanlde that is different from all simplex handles of the simplices.
Gudhi::witness_complex::SimplicialComplexForWitness::Simplex_handle
unspecified Simplex_handle
Definition SimplicialComplexForWitness.h:24