Skip to main content
. 2020 Apr 17;20(8):2294. doi: 10.3390/s20082294
Algorithm 1 Network Maximum Flow.
Require:ENN,s,t
Ensure:f
1: conversion the edge network into a directed edge network from s to t
2: initialize flow f to 0
3: while there exists a path p between s and t do
4:    if all ep and f(e)<ce then
5:      augment flow f(e) along p
6:     end if
7: end while
8: return f