![]() |
aGrUM
0.16.0
|
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 472 of file gspan_tpl.h.
INLINE gum::prm::GSpan< GUM_SCALAR >::PatternSort::PatternSort | ( | const PatternSort & | source | ) |
Copy constructor.
source | The copied PatternSort. |
Definition at line 479 of file gspan_tpl.h.
INLINE gum::prm::GSpan< GUM_SCALAR >::PatternSort::~PatternSort | ( | ) |
Destructor.
Definition at line 485 of file gspan_tpl.h.
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 490 of file gspan_tpl.h.
References gum::prm::GSpan< GUM_SCALAR >::PatternSort::gspan, and gum::prm::GSpan< GUM_SCALAR >::tree().
GSpan* gum::prm::GSpan< GUM_SCALAR >::PatternSort::gspan |
A pointer over an instance of the GSpan class using this class.
Definition at line 348 of file gspan.h.
Referenced by gum::prm::GSpan< GUM_SCALAR >::PatternSort::operator()().