Class DijikstraShortestPath<T, W>
A dijikstra algorithm implementation using Fibornacci Heap.
Inheritance
DijikstraShortestPath<T, W>
Assembly: Advanced.Algorithms.dll
Syntax
public class DijikstraShortestPath<T, W>
where W : IComparable
Type Parameters
Constructors
DijikstraShortestPath(IShortestPathOperators<W>)
Declaration
public DijikstraShortestPath(IShortestPathOperators<W> operators)
Parameters
Methods
GetShortestPath(WeightedDiGraph<T, W>, T, T)
Get shortest distance to target.
Declaration
public ShortestPathResult<T, W> GetShortestPath(WeightedDiGraph<T, W> graph, T source, T destination)
Parameters
Returns