| FlowEdge Constructor (Int32, Int32, Double, Double) |
Namespace: Algs4Net
public FlowEdge( int v, int w, double capacity, double flow )
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | if either v or w is a negative integer |
| ArgumentException | if capacity is negative |
| ArgumentException | unless flow is between 0.0 and capacity. |