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

Functor measuring the violation of the connectivity constraints of any Earth Mover Distance algorithm. More...

#include <Earth_mover_distance_connectivity_constraints_checker.hpp>

Detailed Description

template<class EarthMoverDistance>
class SBL::CADS::T_Earth_mover_distance_connectivity_constraints_checker< EarthMoverDistance >

Functor measuring the violation of the connectivity constraints of any Earth Mover Distance algorithm.

It retourns two statistics :

  • the number of paired vertices that have not the same connectivity (same out going edges),
  • the number of edges of an input that have no counterpart in the other input.
Template Parameters
EarthMoverDistanceRepresentation of one of the Earth Mover Distance algorithm : SBL::CADS::T_Earth_mover_distance or SBL::CADS::T_Earth_mover_distance_with_connectivity_constraints (in this latter case, there should be no violation).