Click or drag to resize
BreadthFirstDirectedPathsPathTo Method
Returns a shortest path from s (or sources) to v, or null if no such path.

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

Parameters

v
Type: SystemInt32
the vertex

Return Value

Type: IEnumerableInt32
the sequence of vertices on a shortest path, as an IEnumerable
See Also