Class JohnsonsShortestPath<T, W>
A Johnson's shortest path algorithm implementation.
Inheritance
JohnsonsShortestPath<T, W>
Assembly: Advanced.Algorithms.dll
Syntax
public class JohnsonsShortestPath<T, W> : object where W : IComparable
Type Parameters
Constructors
JohnsonsShortestPath(IJohnsonsShortestPathOperators<T, W>)
Declaration
public JohnsonsShortestPath(IJohnsonsShortestPathOperators<T, W> operator)
Parameters
Methods
FindAllPairShortestPaths(IDiGraph<T>)
Declaration
public List<AllPairShortestPathResult<T, W>> FindAllPairShortestPaths(IDiGraph<T> graph)
Parameters
Type |
Name |
Description |
IDiGraph<T> |
graph |
|
Returns