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

Base distance over vertices of a graph. More...

#include <Morse_Smale_Witten_chain_complex_from_NNG_builder.hpp>


 T_Distance_default_for_graph (const GraphType *graph=NULL)


FT operator() (const Point &u, const Point &v) const

Detailed Description

template<class GraphType, class NT>
class SBL::GT::T_Distance_default_for_graph< GraphType, NT >

Base distance over vertices of a graph.

It is 1 if there is an edge between two vertices, 0 otherwise.

Template Parameters
GraphTypeType for the input graph.
NTNumber type.