Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
FlowEdge Class
FlowEdge Constructor
FlowEdge Constructor (FlowEdge)
FlowEdge Constructor (Int32, Int32, Double)
FlowEdge Constructor (Int32, Int32, Double, Double)
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#
Copy
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
Exception
Condition
IndexOutOfRangeException
if either
v
or
w
ArgumentException
if
capacity
is negative
See Also
Reference
FlowEdge Class
FlowEdge Overload
Algs4Net Namespace