Click or drag to resize
GraphAddEdge Method (Edge)
Adds the undirected edge to this graph.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddEdge(
	Edge e
)

Parameters

e
Type: Algs4NetEdge
the edge to add, ignoring its weight
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless both 0 <= v < V and 0 <= w < V
See Also