|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Result of flow decomposition. More...
#include <tpl_maxflow.H>
Public Types | |
| using | Flow_Type = typename Net::Flow_Type |
Public Member Functions | |
| Flow_Type | total_flow () const noexcept |
| Total flow (sum of path flows). | |
| size_t | num_paths () const noexcept |
| Number of paths. | |
| size_t | num_cycles () const noexcept |
| Number of cycles. | |
Public Attributes | |
| DynList< FlowPath< Net > > | paths |
| Source-to-sink paths. | |
| DynList< FlowCycle< Net > > | cycles |
| Cycles (if any) | |
Result of flow decomposition.
Contains all paths and cycles that compose the flow.
| Net | Network type. |
Definition at line 777 of file tpl_maxflow.H.
Definition at line 779 of file tpl_maxflow.H.
|
inlinenoexcept |
Number of cycles.
| none |
Definition at line 815 of file tpl_maxflow.H.
References Aleph::FlowDecomposition< Net >::cycles, and Aleph::HTList::size().
|
inlinenoexcept |
Number of paths.
| none |
Definition at line 806 of file tpl_maxflow.H.
References Aleph::FlowDecomposition< Net >::paths, and Aleph::HTList::size().
|
inlinenoexcept |
Total flow (sum of path flows).
| none |
Definition at line 791 of file tpl_maxflow.H.
References Aleph::FlowDecomposition< Net >::paths, and Aleph::sum().
Cycles (if any)
Definition at line 782 of file tpl_maxflow.H.
Referenced by Aleph::decompose_flow(), and Aleph::FlowDecomposition< Net >::num_cycles().
Source-to-sink paths.
Definition at line 781 of file tpl_maxflow.H.
Referenced by Aleph::decompose_flow(), Aleph::FlowDecomposition< Net >::num_paths(), and Aleph::FlowDecomposition< Net >::total_flow().