|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Educational examples for multi-commodity flow networks. More...
Go to the source code of this file.
Functions | |
| int | main () |
Educational examples for multi-commodity flow networks.
Extension of max-flow where MULTIPLE types of flow (commodities) share the SAME network infrastructure
Each commodity has:
Multiple commodities compete for LIMITED capacity Must route all commodities without exceeding capacities NP-hard in general, requires optimization algorithms
g++ -std=c++20 -I.. -o tpl_multicommodity_example tpl_multicommodity_example.cc ./tpl_multicommodity_example
Definition in file tpl_multicommodity_example.cc.
| int main | ( | ) |
Definition at line 40 of file tpl_multicommodity_example.cc.
References Aleph::maps().