Methods for calculating properties relating to network flows (such as max flow/min cut).