Internal subroutines, realization, frames, and distance relation for Edmonds–Karp #
Cross-submodule internal subroutines (capAddr, flowAddr, predAddr, readResCap,
bfsInnerStep..cutOuterStep), exact-basis realization proofs, state-preservation lemmas, and
the DistRel distance invariant for Cslib.Algorithms.WordRAM.EdmondsKarp. Imported privately
by Bounds, BfsSemantics, Spec, and UniformBipartite so none of these helpers enter
CslibFrontier.Algorithms.WordRAM.EdmondsKarp's public API.
Internal addresses and subroutines #
Address of the capacity W u v.
Address of the flow on the arc (u, v).
Address of the breadth-first-search parent of x.
One layer of the search (d = (c, layer)).
Layered breadth-first search from s (d = (c, s)) on the residual graph of the stored
flow.
Client result equations #
Realization (Realizes) for internal subroutines #
State preservation and distance-monotonicity relation #
Between t and t', every distance below n either is unchanged or went from n (unreached)
to layer + 1.