This class provides an iterator for obtaining the nodes of the given blossom. It lists a subset of the nodes. Before using this iterator, you must allocate a MaxWeightedPerfectMatching class and execute it.
#include <lemon/matching.h>
Public Member Functions | |
BlossomIt (const MaxWeightedPerfectMatching &algorithm, int variable) | |
Constructor. | |
operator Node () const | |
BlossomIt & | operator++ () |
bool | operator== (Invalid) const |
Validity checking. | |
bool | operator!= (Invalid) const |
Validity checking. | |
|
inline |
Constructor to get the nodes of the given variable.
|
inline |
Conversion to Node
.
|
inline |
Increment operator.
|
inline |
This function checks whether the iterator is invalid.
|
inline |
This function checks whether the iterator is valid.