Click or drag to resize
FlowEdge Constructor (Int32, Int32, Double)
Initializes an edge from vertex v to vertex w with the given capacity and zero flow.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public FlowEdge(
	int v,
	int w,
	double capacity
)

Parameters

v
Type: System.Int32
he tail vertex
w
Type: System.Int32
whe head vertex
capacity
Type: System.Double
the capacity of the edge
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionif either v or w
ArgumentExceptionif capacity is negative
See Also