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

Compute the Betti numbers of a Graph. More...

#include <Betti_numbers_1.hpp>

Public Types

typedef boost::tuple< unsigned, unsigned > result_type
 Boost tuple (Betti_0, Betti_1) More...
 

Functors

result_type operator() (const GraphType &G) const
 Returns the Betti numbers of G as a tuple. More...
 

Detailed Description

template<class GraphType>
class SBL::GT::T_Betti_numbers_1< GraphType >

Compute the Betti numbers of a Graph.

Template Parameters
GraphTypeA Model of a Boost graph.

Member Typedef Documentation

◆ result_type

typedef boost::tuple<unsigned, unsigned> result_type

Boost tuple (Betti_0, Betti_1)

Member Function Documentation

◆ operator()()

T_Betti_numbers_1< GraphType >::result_type operator() ( const GraphType &  G) const
inline

Returns the Betti numbers of G as a tuple.