Click or drag to resize
EdgeWeightedGraphAdj Method
Returns the edges incident on vertex v.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IEnumerable<Edge> Adj(
	int v
)

Parameters

v
Type: SystemInt32
v the vertex

Return Value

Type: IEnumerableEdge
the edges incident on vertex v as an Iterable
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= v < V
See Also