Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
FlowNetwork Class
FlowNetwork Methods
AddEdge Method
Adj Method
Edges Method
MainTest Method
ToString Method
FlowNetwork
AddEdge Method
Adds the edge
e
to the network.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
AddEdge
(
FlowEdge
e
)
Parameters
e
Type:
Algs4Net
FlowEdge
the edge
Exceptions
Exception
Condition
IndexOutOfRangeException
unless endpoints of edge are between 0 and V-1
See Also
Reference
FlowNetwork Class
Algs4Net Namespace