Graph Theory.
traveling on the network making it from point A to point B the maximum flow would then represent things like the volume of water allowed to flow through the network of pipes the number of cars the roads can sustain traffic or the maximum amount of boats allowed on the river with these maximum flow