networks

EdmondsKarp

Class

Members

@paramgraphNetwork
@paramsstring
@paramtstring
@returnsnumber

bfs

[residualPath: [string, string][], residualCapacity: number] | [undefined, undefined]
@paramresidualGraphResidualNetwork
@paramsstring
@paramtstring
@returns[residualPath: [string, string][], residualCapacity: number] | [undefined, undefined]

findMinResidualCapacity

[shortestPathEdges: [string, string][], minResidualCapacity: number]
@paramshortestPathstring[]
@paramgraphResidualNetwork
@returns[shortestPathEdges: [string, string][], minResidualCapacity: number]