DepthFirstDirectedPathsPathTo Method |
Returns a directed path from the source vertex s to vertex v, or
null if no such path.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<int> PathTo(
int v
)
Parameters
- v
- Type: SystemInt32
the vertex
Return Value
Type:
IEnumerableInt32the sequence of vertices on a directed path from the source vertex
s to vertex
v, as an Iterable
See Also