Click or drag to resize
DigraphAdj Method
Returns the vertices adjacent from vertex v in this digraph.

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

Parameters

v
Type: SystemInt32
the vertex

Return Value

Type: IEnumerableInt32
the vertices adjacent from vertex v in this digraph, as an iterable
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= v < V
See Also