graph-toolkit
Preparing search index...
algorithms/src
maxFlow
Function maxFlow
maxFlow
(
graph
:
Graph
,
source
:
VertexId
,
sink
:
VertexId
)
:
number
Maximum flow (Edmonds–Karp, $O(V \cdot E^2)$); directed graph, weights are capacities ≥ 0.
Parameters
graph
:
Graph
source
:
VertexId
sink
:
VertexId
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
graph-toolkit
Loading...
Maximum flow (Edmonds–Karp, $O(V \cdot E^2)$); directed graph, weights are capacities ≥ 0.