template<typename GR, typename CAP>
class lemon::GomoryHu< GR, CAP >::MinCutEdgeIt
This iterator class lists the edges of a minimum cut found by GomoryHu. Before using it, you must allocate a GomoryHu class and call its run() method.
This example computes the value of the minimum cut separating s from t.
gom.run();
int value=0;
value+=capacities[e];
const Invalid INVALID
Invalid iterators.
Definition base.cc:32
GomoryHu(const Graph &graph, const Capacity &capacity)
Constructor.
Definition gomory_hu.h:121
Iterate on the edges of a minimum cut.
Definition gomory_hu.h:466
The result will be the same as the value returned by gom.minCutValue(s,t).