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