![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Topological sort — Kahn's algorithm, numerically identical to legacy. More...
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::toposort |
Functions | |
| int | openswmm::toposort::sortLinks (const int *node1, const int *node2, int n_links, int n_nodes, std::vector< int > &sorted_links) |
| Sort links in topological (upstream→downstream) order. | |
Topological sort — Kahn's algorithm, numerically identical to legacy.