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 MaxWeightedMatching class and execute it.
#include <lemon/matching.h>
Public Member Functions | |
| BlossomIt (const MaxWeightedMatching &algorithm, int variable) | |
| Constructor. | |
| operator Node () const | |
| BlossomIt & | operator++ () |
| bool | operator== (Invalid) const |
| Validity checking. | |
| bool | operator!= (Invalid) const |
| Validity checking. | |
| BlossomIt | ( | const MaxWeightedMatching & | algorithm, |
| int | variable | ||
| ) | [inline] |
Constructor to get the nodes of the given variable.
| operator Node | ( | ) | const [inline] |
Conversion to Node.
| BlossomIt& operator++ | ( | ) | [inline] |
Increment operator.
| bool operator== | ( | Invalid | ) | const [inline] |
Checks whether the iterator is invalid.
| bool operator!= | ( | Invalid | ) | const [inline] |
Checks whether the iterator is valid.
1.7.3