Click or drag to resize
BreadthFirstDirectedPaths Constructor (Digraph, Int32)
Computes the shortest path from s and every other vertex in graph G.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public BreadthFirstDirectedPaths(
	Digraph G,
	int s
)

Parameters

G
Type: Algs4NetDigraph
the digraph
s
Type: SystemInt32
the source vertex
See Also