Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Betti_numbers_2< AlphaComplex3 > Class Template Reference

Compute the Betti numbers of a 3D Cell Complex from its alpha-complex. More...

#include <Betti_numbers_2.hpp>

Public Types

typedef AlphaComplex3::FT FT
 Number type used for representing coordinates and weights in the $\alpha$-complex.
typedef boost::tuple< unsigned, unsigned, unsigned > result_type
 Boost tuple (Betti_0, Betti_1, Betti_2)

Functors

result_type operator() (const AlphaComplex3 &A) const
 Returns the Betti numbers of the input $\alpha$-complex.
template<class InputIterator>
result_type operator() (InputIterator begin, InputIterator end, const FT &alpha=0) const
 Computes the Betti numbers of the union of the family of input 3D balls represented as weighted points.

Detailed Description

template<class AlphaComplex3>
class SBL::GT::T_Betti_numbers_2< AlphaComplex3 >

Compute the Betti numbers of a 3D Cell Complex from its alpha-complex.

Template Parameters
AlphaComplex3A Model of the 3D $\alpha$-complex of the CGAL Library.

Member Typedef Documentation

◆ FT

template<class AlphaComplex3>
typedef AlphaComplex3::FT FT

Number type used for representing coordinates and weights in the $\alpha$-complex.

◆ result_type

template<class AlphaComplex3>
typedef boost::tuple<unsigned, unsigned, unsigned> result_type

Boost tuple (Betti_0, Betti_1, Betti_2)

Member Function Documentation

◆ operator()() [1/2]

template<class AlphaComplex3>
T_Betti_numbers_2< AlphaComplex3 >::result_type operator() ( const AlphaComplex3 & A) const
inline

Returns the Betti numbers of the input $\alpha$-complex.

◆ operator()() [2/2]

template<class AlphaComplex3>
template<class InputIterator>
T_Betti_numbers_2< AlphaComplex3 >::result_type operator() ( InputIterator begin,
InputIterator end,
const FT & alpha = 0 ) const
inline

Computes the Betti numbers of the union of the family of input 3D balls represented as weighted points.