Click or drag to resize
DijkstraUndirectedSPPathTo Method
Returns a shortest path between the source vertex s and vertex v.

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

Parameters

v
Type: SystemInt32
the destination vertex

Return Value

Type: IEnumerableEdge
a shortest path between the source vertex s and vertex v; null if no such path
See Also