Builds a new Dijsktra searcher.
Namespace:
QuickGraph.Algorithms.ShortestPathAssembly: QuickGraph.Algorithms (in QuickGraph.Algorithms.dll) Version: 2.4.2.1502 (2.4.2.1502)
Syntax
| C# |
|---|
public DijkstraShortestPathAlgorithm( IVertexListGraph g, EdgeDoubleDictionary weights ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ g As IVertexListGraph, _ weights As EdgeDoubleDictionary _ ) |
Parameters
- g
- Type: QuickGraph.Concepts.Traversals..::.IVertexListGraph
The graph
- weights
- Type: QuickGraph.Collections..::.EdgeDoubleDictionary
Edge weights
Remarks
This algorithm uses the .
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Any argument is null |
