class EdmondsKarp { static maximumFlow(graph: Network, s: string, t: string): number; static bfs(residualGraph: ResidualNetwork, s: string, t: string): [residualPath: [string, string][], residualCapacity: number] | [undefined, undefined]; static findMinResidualCapacity(shortestPath: string[], graph: ResidualNetwork): [shortestPathEdges: [string, string][], minResidualCapacity: number];}
Members
maximumFlow
number
@paramgraph
Network
@params
string
@paramt
string
@returns
number
bfs
[residualPath: [string, string][], residualCapacity: number] | [undefined, undefined]
@paramresidualGraph
ResidualNetwork
@params
string
@paramt
string
@returns
[residualPath: [string, string][], residualCapacity: number] | [undefined, undefined]
findMinResidualCapacity
[shortestPathEdges: [string, string][], minResidualCapacity: number]
@paramshortestPath
string[]
@paramgraph
ResidualNetwork
@returns
[shortestPathEdges: [string, string][], minResidualCapacity: number]