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

Parameters

G
Type: Algs4NetGraph
the graph
sources
Type: System.Collections.GenericIEnumerableInt32
the source vertices
See Also