Click or drag to resize
BreadthFirstPathsHasPathTo Method
Is there a path between the source vertex s (or sources) and vertex v?

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

Parameters

v
Type: SystemInt32
the vertex

Return Value

Type: Boolean
true if there is a path, and false otherwise
See Also