Maximum flow in graph
returns
the maximum flow between
nodes mf
= maxflow(G
,s,t
)s
and t
. If graph G
is
unweighted (that is, G.Edges
does not contain the
variable Weight
), then maxflow
treats
all graph edges as having a weight equal to 1.