![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
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 428 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE gum::prm::GSpan< GUM_SCALAR >::LabelSort::LabelSort | ( | const LabelSort & | source | ) |
Copy constructor.
source | The copied LabelSort. |
Definition at line 433 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE gum::prm::GSpan< GUM_SCALAR >::LabelSort::~LabelSort | ( | ) |
Destructor.
Definition at line 439 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
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 444 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
GSpan* gum::prm::GSpan< GUM_SCALAR >::LabelSort::gspan |