Gudhi::skeleton_blocker::Skeleton_blocker_link_complex< ComplexType > Class Template Reference

Class representing the link of a simplicial complex encoded by a skeleton/blockers pair. It inherits from Skeleton_blocker_sub_complex because such complex is a sub complex of a root complex. More...

Public Member Functions

 Skeleton_blocker_link_complex (const ComplexType &parent_complex, const Simplex &alpha_parent_adress, bool only_superior_vertices=false, bool only_vertices=false)
 
 Skeleton_blocker_link_complex (const ComplexType &parent_complex, Vertex_handle a_parent_adress, bool only_superior_vertices=false)
 
 Skeleton_blocker_link_complex (const ComplexType &parent_complex, Edge_handle edge, bool only_superior_vertices=false)
 
void build_link (const ComplexType &parent_complex, const Simplex &alpha_parent_adress, bool is_alpha_blocker=false, bool only_vertices=false)
 compute vertices, edges and blockers of the link. More...
 
- Public Member Functions inherited from Gudhi::skeleton_blocker::Skeleton_blocker_sub_complex< ComplexType >
Vertex_handle add_vertex (Root_vertex_handle global)
 
void add_edge_without_blockers (Root_vertex_handle v1_root, Root_vertex_handle v2_root)
 
void add_blocker (const Root_simplex_handle &blocker_root)
 
void make_restricted_complex (const ComplexType &parent_complex, const Simplex &simplex)
 
boost::optional< Vertex_handle > get_address (Root_vertex_handle global) const
 
std::vector< boost::optional< Vertex_handle > > get_addresses (const Root_simplex_handle &s) const
 

Friends

void build_link_of_blocker (const ComplexType &parent_complex, Simplex &blocker, Skeleton_blocker_link_complex &result)
 build the link of a blocker which is the link of the blocker's simplex if this simplex had been removed from the blockers of the complex.
 

Detailed Description

template<typename ComplexType>
class Gudhi::skeleton_blocker::Skeleton_blocker_link_complex< ComplexType >

Class representing the link of a simplicial complex encoded by a skeleton/blockers pair. It inherits from Skeleton_blocker_sub_complex because such complex is a sub complex of a root complex.

Constructor & Destructor Documentation

◆ Skeleton_blocker_link_complex() [1/3]

template<typename ComplexType >
Gudhi::skeleton_blocker::Skeleton_blocker_link_complex< ComplexType >::Skeleton_blocker_link_complex ( const ComplexType &  parent_complex,
const Simplex &  alpha_parent_adress,
bool  only_superior_vertices = false,
bool  only_vertices = false 
)
inline

If the parameter only_superior_vertices is true, only vertices greater than the one of alpha are added. Only vertices are computed if only_vertices is true.

◆ Skeleton_blocker_link_complex() [2/3]

template<typename ComplexType >
Gudhi::skeleton_blocker::Skeleton_blocker_link_complex< ComplexType >::Skeleton_blocker_link_complex ( const ComplexType &  parent_complex,
Vertex_handle  a_parent_adress,
bool  only_superior_vertices = false 
)
inline

If the parameter only_superior_vertices is true, only vertices greater than the one of the vertex are added.

◆ Skeleton_blocker_link_complex() [3/3]

template<typename ComplexType >
Gudhi::skeleton_blocker::Skeleton_blocker_link_complex< ComplexType >::Skeleton_blocker_link_complex ( const ComplexType &  parent_complex,
Edge_handle  edge,
bool  only_superior_vertices = false 
)
inline

If the parameter only_superior_vertices is true, only vertices greater than the one of the edge are added.

Member Function Documentation

◆ build_link()

template<typename ComplexType >
void Gudhi::skeleton_blocker::Skeleton_blocker_link_complex< ComplexType >::build_link ( const ComplexType &  parent_complex,
const Simplex &  alpha_parent_adress,
bool  is_alpha_blocker = false,
bool  only_vertices = false 
)
inline

compute vertices, edges and blockers of the link.

If the boolean only_superior_vertices is true, then the link is computed only with vertices that are greater than vertices of alpha_parent_adress.


The documentation for this class was generated from the following file:
GUDHI  Version 3.3.0  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : MIT Generated on Fri Oct 30 2020 17:07:14 for GUDHI by Doxygen 1.8.18