DepthFirstPathsHasPathTo Method |
Is there a path between the source vertex s and vertex v?
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool HasPathTo(
int v
)
Parameters
- v
- Type: SystemInt32
the vertex
Return Value
Type:
Booleantrue if there is a path,
false otherwise
See Also