![]() |
aGrUM
0.16.0
|
Inner class to handle data about labels in this interface graph. More...
#include <agrum/PRM/gspan/interfaceGraph.h>
Public Attributes | |
Idx | id |
An unique identifier for this label. More... | |
std::string | l |
The string version of this label. More... | |
Size | tree_width |
The size in terms of tree width of the given label. More... | |
Public Member Functions | |
LabelData () | |
Constructor. More... | |
LabelData (const LabelData &from) | |
Copy constructor. More... | |
~LabelData () | |
Destructor. More... | |
bool | operator== (const LabelData &from) const |
Equality operator. More... | |
bool | operator!= (const LabelData &from) const |
Difference operator. More... | |
Inner class to handle data about labels in this interface graph.
Definition at line 51 of file interfaceGraph.h.
gum::prm::gspan::LabelData::LabelData | ( | ) |
Constructor.
Definition at line 43 of file interfaceGraph.cpp.
gum::prm::gspan::LabelData::LabelData | ( | const LabelData & | from | ) |
Copy constructor.
Definition at line 45 of file interfaceGraph.cpp.
gum::prm::gspan::LabelData::~LabelData | ( | ) |
Difference operator.
Definition at line 55 of file interfaceGraph.cpp.
References id, l, and tree_width.
Equality operator.
Definition at line 51 of file interfaceGraph.cpp.
References id, l, and tree_width.
Idx gum::prm::gspan::LabelData::id |
An unique identifier for this label.
Definition at line 59 of file interfaceGraph.h.
Referenced by gum::prm::gspan::InterfaceGraph< GUM_SCALAR >::__label(), gum::prm::gspan::Pattern::addArc(), gum::prm::gspan::Pattern::isMinimal(), operator!=(), and operator==().
std::string gum::prm::gspan::LabelData::l |
The string version of this label.
Definition at line 61 of file interfaceGraph.h.
Referenced by gum::prm::gspan::InterfaceGraph< GUM_SCALAR >::__label(), operator!=(), gum::prm::gspan::operator<<(), and operator==().
Size gum::prm::gspan::LabelData::tree_width |
The size in terms of tree width of the given label.
Definition at line 63 of file interfaceGraph.h.
Referenced by gum::prm::gspan::InterfaceGraph< GUM_SCALAR >::__label(), gum::prm::gspan::TreeWidthSearch< GUM_SCALAR >::accept_root(), operator!=(), gum::prm::gspan::StrictSearch< GUM_SCALAR >::operator()(), gum::prm::gspan::TreeWidthSearch< GUM_SCALAR >::operator()(), and operator==().