Click or drag to resize
EdgeWeightedGraphAddEdge 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#
public void AddEdge(
	Edge e
)

Parameters

e
Type: Algs4NetEdge
e the edge
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless both endpoints are between 0 and V-1
See Also