![]() |
aGrUM
0.16.0
|
Private class used to sort LabelData using STL sort algorithms. More...
Public Attributes | |
GSpan * | gspan |
A pointer over an instance of the GSpan class using this class. More... | |
Public Member Functions | |
LabelSort (GSpan *my_gspan) | |
Default constructor. More... | |
LabelSort (const LabelSort &source) | |
Copy constructor. More... | |
~LabelSort () | |
Destructor. More... | |
bool | operator() (gspan::LabelData *i, gspan::LabelData *j) |
Returns true if i's cost is lesser than j's. More... | |
Private class used to sort LabelData using STL sort algorithms.
INLINE gum::prm::GSpan< GUM_SCALAR >::LabelSort::LabelSort | ( | GSpan * | my_gspan | ) |
Default constructor.
my_gspan | A pointer over the GSpan using this class. |
Definition at line 445 of file gspan_tpl.h.
INLINE gum::prm::GSpan< GUM_SCALAR >::LabelSort::LabelSort | ( | const LabelSort & | source | ) |
Copy constructor.
source | The copied LabelSort. |
Definition at line 451 of file gspan_tpl.h.
INLINE gum::prm::GSpan< GUM_SCALAR >::LabelSort::~LabelSort | ( | ) |
Destructor.
Definition at line 457 of file gspan_tpl.h.
INLINE bool gum::prm::GSpan< GUM_SCALAR >::LabelSort::operator() | ( | gspan::LabelData * | i, |
gspan::LabelData * | j | ||
) |
Returns true if i's cost is lesser than j's.
i | A LabelData. |
j | A LabelData. |
Definition at line 462 of file gspan_tpl.h.
References gum::prm::GSpan< GUM_SCALAR >::__tree, and gum::prm::GSpan< GUM_SCALAR >::LabelSort::gspan.
GSpan* gum::prm::GSpan< GUM_SCALAR >::LabelSort::gspan |
A pointer over an instance of the GSpan class using this class.
Definition at line 313 of file gspan.h.
Referenced by gum::prm::GSpan< GUM_SCALAR >::LabelSort::operator()().