Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
BreadthFirstPaths Class
BreadthFirstPaths Constructor
BreadthFirstPaths Constructor (Graph, IEnumerable(Int32))
BreadthFirstPaths Constructor (Graph, Int32)
BreadthFirstPaths Constructor (Graph, IEnumerable
Int32
)
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#
Copy
public
BreadthFirstPaths
(
Graph
G
,
IEnumerable
<
int
>
sources
)
Parameters
G
Type:
Algs4Net
Graph
the graph
sources
Type:
System.Collections.Generic
IEnumerable
Int32
the source vertices
See Also
Reference
BreadthFirstPaths Class
BreadthFirstPaths Overload
Algs4Net Namespace