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