Definition. Flow [00RZ]

A flow on a flow network G is a function f: E \rightarrow \mathbb {N} assigning a natural number flow value to each edge, such that

  1. 0 \leq f(e) \leq c(e) for each edge e \in E (that is, the flow along an edge is limited by the edge’s capacity).
  2. What flows in must flow out: for each vertex (besides s and t), \sum _{e \text { entering } v} f(e) = \sum _{e \text { leaving } v} f(e).

We will abbreviate the above as f^{\mathrm {in}}(v) = f^{\mathrm {out}}(v).