FlowEdge.java (source code)

= FlowEdge.java
{c}
{tag=Work by Robert Sedgewick}
{tag=Work by Kevin Wayne}

Online text: https://raw.githubusercontent.com/kevin-wayne/algs4/master/src/main/java/edu/princeton/cs/algs4/FlowEdge.java

Accompanying software for <Algorithms, 4th edition by Robert Sedgewick and others>, authored by <Robert Sedgewick> and <Kevin Wayne>, both named in the implementation bylines. GitHub hosts their algs4 repository. The footer gives 2011 as the textbook publication year; its copyright interval does not date the implementation. These locators refer to the inspected software rather than to textbook pages.

Cited passages: Browser lines 0–3: class documentation, directed endpoints, real-valued capacity and flow, @author declarations.; Browser lines 4–6: constructors enforce nonnegative capacity and flow bounded between zero and capacity.; Browser lines 11–13: actual residualCapacityTo and addResidualFlowTo bodies distinguish forward capacity-minus-flow and backward flow.; Browser lines 14–16: footer credits whole-book authors, publisher and 2011 publication year..