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