Click or drag to resize
BreadthFirstDirectedPaths Constructor (Digraph, IEnumerableInt32)
Computes the shortest path from any one of the source vertices in sources to 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,
	IEnumerable<int> sources
)

Parameters

G
Type: Algs4NetDigraph
the digraph
sources
Type: System.Collections.GenericIEnumerableInt32
the source vertices
See Also