Back

satisfies-capacity-constraints? (clj)

(source)

function

(satisfies-capacity-constraints? flow capacity)
Given a flow map, and a capacity function, verifies that the flow on each edge is <= capacity of that edge.

Examples