Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Hierarchical_labels_forest< MolecularSystemLabelsTraits >::Is_child_or_equal_label Class Reference

#include <Hierarchical_labels_forest.hpp>

Public Member Functions

 Is_child_or_equal_label (const Directed_acyclic_graph &diagram, Label label)
 Initialize the reference to the forest and the reference label. More...
 
bool operator() (Vertex v) const
 Check that a vertex has a label equal to the reference label, or that is a child of the reference label. More...
 

Constructor & Destructor Documentation

◆ Is_child_or_equal_label()

Is_child_or_equal_label ( const Directed_acyclic_graph diagram,
Label  label 
)
inline

Initialize the reference to the forest and the reference label.

Member Function Documentation

◆ operator()()

bool operator() ( Vertex  v) const
inline

Check that a vertex has a label equal to the reference label, or that is a child of the reference label.