This class provides a common style LEMON iterator for getting a dual variable of MinCostArborescence algorithm. It iterates over a subset of the nodes.
#include <lemon/min_cost_arborescence.h>
Public Member Functions | |
| DualIt (const MinCostArborescence &algorithm, int variable) | |
| Constructor. | |
| operator Node () const | |
| DualIt & | operator++ () |
| bool | operator== (Invalid) const |
| Validity checking. | |
| bool | operator!= (Invalid) const |
| Validity checking. | |
| DualIt | ( | const MinCostArborescence & | algorithm, |
| int | variable | ||
| ) | [inline] |
Constructor for getting the nodeset of the dual variable of MinCostArborescence algorithm.
| operator Node | ( | ) | const [inline] |
Conversion to Node.
| DualIt& 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