Click or drag to resize
BreadthFirstDirectedPathsDistTo Method
Returns the number of edges in a shortest path from the source s (or sources) to vertex v?

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int DistTo(
	int v
)

Parameters

v
Type: SystemInt32
the vertex

Return Value

Type: Int32
the number of edges in a shortest path
See Also