BreadthFirstDirectedPaths Constructor (Digraph, Int32) |
Computes the shortest path from s and every other vertex in graph G.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic BreadthFirstDirectedPaths(
Digraph G,
int s
)
Parameters
- G
- Type: Algs4NetDigraph
the digraph - s
- Type: SystemInt32
the source vertex
See Also