Click or drag to resize
AdjMatrixEdgeWeightedDigraphAdj Method
Returns the directed edges incident from vertex v.

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

Parameters

v
Type: SystemInt32
the vertex

Return Value

Type: IEnumerableDirectedEdge
the directed edges incident from vertex v as an Iterable
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= v < V
See Also