|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Educational examples for capacity-constrained flow networks. More...
Go to the source code of this file.
Functions | |
| int | main () |
Educational examples for capacity-constrained flow networks.
Network where arcs have capacity limits (max flow through arc) Foundation for maximum flow and minimum cut problems Core structure for many optimization algorithms
Given: Source node, sink node, arc capacities Find: Maximum amount of "flow" from source to sink Subject to:
g++ -std=c++20 -I.. -o tpl_netcapgraph_example tpl_netcapgraph_example.cc ./tpl_netcapgraph_example
Definition in file tpl_netcapgraph_example.cc.
| int main | ( | ) |
Definition at line 39 of file tpl_netcapgraph_example.cc.
References Aleph::maps().