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>
where W : IComparable
Type Parameters
Constructors
JohnsonsShortestPath(IJohnsonsShortestPathOperators<T, W>)
Declaration
public JohnsonsShortestPath(IJohnsonsShortestPathOperators<T, W> operators)
Parameters
Methods
GetAllPairShortestPaths(WeightedDiGraph<T, W>)
Declaration
public List<AllPairShortestPathResult<T, W>> GetAllPairShortestPaths(WeightedDiGraph<T, W> graph)
Parameters
Returns