![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Inner class to handle data about labels in this interface graph. More...
#include <agrum/PRM/gspan/interfaceGraph.h>
Public Member Functions | |
| LabelData () | |
| Constructor. | |
| LabelData (const LabelData &from) | |
| Copy constructor. | |
| ~LabelData () | |
| Destructor. | |
| bool | operator== (const LabelData &from) const |
| Equality operator. | |
| bool | operator!= (const LabelData &from) const |
| Difference operator. | |
Public Attributes | |
| Idx | id |
| An unique identifier for this label. | |
| std::string | l |
| The string version of this label. | |
| Size | tree_width |
| The size in terms of tree width of the given label. | |
Inner class to handle data about labels in this interface graph.
Definition at line 68 of file interfaceGraph.h.
| gum::prm::gspan::LabelData::LabelData | ( | ) |
Constructor.
Definition at line 62 of file interfaceGraph.cpp.
References LabelData(), and id.
Referenced by LabelData(), LabelData(), ~LabelData(), operator!=(), and operator==().
| gum::prm::gspan::LabelData::LabelData | ( | const LabelData & | from | ) |
Copy constructor.
Definition at line 67 of file interfaceGraph.cpp.
References LabelData(), id, and l.
| gum::prm::gspan::LabelData::~LabelData | ( | ) |
Destructor.
Definition at line 71 of file interfaceGraph.cpp.
References LabelData().
Difference operator.
Definition at line 80 of file interfaceGraph.cpp.
References LabelData(), id, l, and tree_width.
Equality operator.
Definition at line 76 of file interfaceGraph.cpp.
References LabelData(), id, l, and tree_width.
| Idx gum::prm::gspan::LabelData::id |
An unique identifier for this label.
Definition at line 76 of file interfaceGraph.h.
Referenced by LabelData(), LabelData(), gum::prm::gspan::Pattern::addArc(), gum::prm::gspan::Pattern::isMinimal(), operator!=(), operator==(), and gum::prm::gspan::Pattern::toDot().
| std::string gum::prm::gspan::LabelData::l |
The string version of this label.
Definition at line 78 of file interfaceGraph.h.
Referenced by LabelData(), operator!=(), gum::prm::gspan::operator<<(), gum::prm::gspan::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 80 of file interfaceGraph.h.
Referenced by 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==().