Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
DijkstraAllPairsSP Class
DijkstraAllPairsSP Constructor
DijkstraAllPairsSP Methods
DijkstraAllPairsSP Constructor
Computes a shortest paths tree from each vertex to to every other vertex in the edge-weighted digraph
G
.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
DijkstraAllPairsSP
(
EdgeWeightedDigraph
G
)
Parameters
G
Type:
Algs4Net
EdgeWeightedDigraph
the edge-weighted digraph
Exceptions
Exception
Condition
ArgumentException
if an edge weight is negative
ArgumentException
unless 0 <=
s
<=
V
- 1
See Also
Reference
DijkstraAllPairsSP Class
Algs4Net Namespace