Loading...
Searching...
No Matches
SimplicialComplexForAlpha.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): Vincent Rouvreau
*
* Copyright (C) 2016 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
#ifndef CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
#define CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
namespace Gudhi {
namespace alpha_complex {
struct SimplicialComplexForAlpha {
typedef unspecified Simplex_handle;
typedef unspecified Vertex_handle;
typedef unspecified Filtration_value;
std::size_t num_vertices();
int dimension(Simplex_handle simplex);
int assign_filtration(Simplex_handle simplex, Filtration_value filtration);
void insert_simplex_and_subfaces(std::vector<Vertex_handle> const & vertex_range, Filtration_value filtration);
void make_filtration_non_decreasing();
void prune_above_filtration(Filtration_value filtration);
typedef unspecified Simplex_vertex_range;
Simplex_vertex_range simplex_vertex_range(Simplex_handle const & simplex);
typedef unspecified Boundary_simplex_range;
Boundary_simplex_range boundary_simplex_range(Simplex_handle const & simplex);
typedef unspecified Skeleton_simplex_range;
Skeleton_simplex_range skeleton_simplex_range;
typedef unspecified Insertion_result_type;
typedef unspecified Simplex_key;
Simplex_key null_key ();
Simplex_key key ( Simplex_handle sh );
void assign_key(Simplex_handle sh, Simplex_key n);
};
} // namespace alpha_complex
} // namespace Gudhi
#endif // CONCEPT_ALPHA_COMPLEX_SIMPLICIAL_COMPLEX_FOR_ALPHA_H_
Gudhi
Gudhi namespace.
Definition SimplicialComplexForAlpha.h:14
Gudhi::alpha_complex::SimplicialComplexForAlpha
The concept SimplicialComplexForAlpha describes the requirements for a type to implement a simplicial...
Definition SimplicialComplexForAlpha.h:21
Gudhi::alpha_complex::SimplicialComplexForAlpha::skeleton_simplex_range
Skeleton_simplex_range skeleton_simplex_range
Returns a range over the simplices of the skeleton of the simplicial complex, for a given dimension.
Definition SimplicialComplexForAlpha.h:72
Gudhi::alpha_complex::SimplicialComplexForAlpha::assign_filtration
int assign_filtration(Simplex_handle simplex, Filtration_value filtration)
Gudhi::alpha_complex::SimplicialComplexForAlpha::num_vertices
std::size_t num_vertices()
Gudhi::alpha_complex::SimplicialComplexForAlpha::dimension
int dimension(Simplex_handle simplex)
Gudhi::alpha_complex::SimplicialComplexForAlpha::boundary_simplex_range
Boundary_simplex_range boundary_simplex_range(Simplex_handle const &simplex)
Returns a range over boundaries of a given simplex.
Gudhi::alpha_complex::SimplicialComplexForAlpha::prune_above_filtration
void prune_above_filtration(Filtration_value filtration)
Gudhi::alpha_complex::SimplicialComplexForAlpha::null_key
Simplex_key null_key()
Returns a constant dummy number that is either negative, or at least as large as the number of simpli...
Gudhi::alpha_complex::SimplicialComplexForAlpha::make_filtration_non_decreasing
void make_filtration_non_decreasing()
Gudhi::alpha_complex::SimplicialComplexForAlpha::assign_key
void assign_key(Simplex_handle sh, Simplex_key n)
Store a number for a simplex, which can later be retrieved with key().
Gudhi::alpha_complex::SimplicialComplexForAlpha::simplex_vertex_range
Simplex_vertex_range simplex_vertex_range(Simplex_handle const &simplex)
Returns a range over vertices of a given simplex.
Gudhi::alpha_complex::SimplicialComplexForAlpha::insert_simplex_and_subfaces
void insert_simplex_and_subfaces(std::vector< Vertex_handle > const &vertex_range, Filtration_value filtration)
Inserts a simplex with vertices from a given simplex (represented by a vector of Vertex_handle) in th...
Gudhi::alpha_complex::SimplicialComplexForAlpha::key
Simplex_key key(Simplex_handle sh)
Returns the number stored for a simplex by assign_key().
Gudhi::alpha_complex::SimplicialComplexForAlpha::Boundary_simplex_range
unspecified Boundary_simplex_range
Iterator over the boundaries of the complex, in an arbitrary order.
Definition SimplicialComplexForAlpha.h:61
Gudhi::alpha_complex::SimplicialComplexForAlpha::Skeleton_simplex_range
unspecified Skeleton_simplex_range
Iterator over the simplices of the skeleton of the complex, for a given dimension.
Definition SimplicialComplexForAlpha.h:69
Gudhi::alpha_complex::SimplicialComplexForAlpha::Simplex_key
unspecified Simplex_key
Data stored for each simplex.
Definition SimplicialComplexForAlpha.h:84
Gudhi::alpha_complex::SimplicialComplexForAlpha::Simplex_handle
unspecified Simplex_handle
Definition SimplicialComplexForAlpha.h:23
Gudhi::alpha_complex::SimplicialComplexForAlpha::Simplex_vertex_range
unspecified Simplex_vertex_range
Iterator over vertices of a simplex.
Definition SimplicialComplexForAlpha.h:53
Gudhi::alpha_complex::SimplicialComplexForAlpha::Vertex_handle
unspecified Vertex_handle
Definition SimplicialComplexForAlpha.h:25
Gudhi::alpha_complex::SimplicialComplexForAlpha::Filtration_value
unspecified Filtration_value
Definition SimplicialComplexForAlpha.h:29
Gudhi::alpha_complex::SimplicialComplexForAlpha::Insertion_result_type
unspecified Insertion_result_type
Return type of an insertion of a simplex.
Definition SimplicialComplexForAlpha.h:76