BellmanFordSPHasPathTo Method |
Is there a path from the source s to vertex v?
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool HasPathTo(
int v
)
Parameters
- v
- Type: SystemInt32
the destination vertex
Return Value
Type:
Booleantrue if there is a path from the source vertex
See Also