![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Private class used to sort Pattern 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 | |
PatternSort (GSpan *my_gspan) | |
Default constructor. More... | |
PatternSort (const PatternSort &source) | |
Copy constructor. More... | |
~PatternSort () | |
Destructor. More... | |
bool | operator() (gspan::Pattern *i, gspan::Pattern *j) |
Returns true if i's cost is lesser than j's. More... | |
Private class used to sort Pattern using STL sort algorithms.
INLINE gum::prm::GSpan< GUM_SCALAR >::PatternSort::PatternSort | ( | GSpan * | my_gspan | ) |
Default constructor.
my_gspan | A pointer over the GSpan using this class. |
Definition at line 454 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE gum::prm::GSpan< GUM_SCALAR >::PatternSort::PatternSort | ( | const PatternSort & | source | ) |
Copy constructor.
source | The copied PatternSort. |
Definition at line 459 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE gum::prm::GSpan< GUM_SCALAR >::PatternSort::~PatternSort | ( | ) |
Destructor.
Definition at line 465 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE bool gum::prm::GSpan< GUM_SCALAR >::PatternSort::operator() | ( | gspan::Pattern * | i, |
gspan::Pattern * | j | ||
) |
Returns true if i's cost is lesser than j's.
i | A Pattern. |
j | A Pattern. |
Definition at line 470 of file gspan_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
GSpan* gum::prm::GSpan< GUM_SCALAR >::PatternSort::gspan |