|
nxpp
Header-only graph utilities on top of Boost Graph Library
|
Result of a minimum-cut computation. More...
#include <flow.hpp>

Public Attributes | |
| long | value = 0 |
| std::vector< NodeID > | reachable |
| std::vector< NodeID > | non_reachable |
| std::vector< std::pair< NodeID, NodeID > > | cut_edges |
| std::vector< std::size_t > | cut_edge_ids |
Result of a minimum-cut computation.
The reachable and non-reachable partitions correspond to the residual graph after the max-flow phase. The cut_edges field is the endpoint-keyed convenience view, while cut_edge_ids exposes the precise wrapper-tracked edge IDs that cross the cut.
Example: