Class AllPairShortestPathResult<T, W>
All pairs shortest path algorithm result object.
Inheritance
AllPairShortestPathResult<T, W>
Assembly: Advanced.Algorithms.dll
Syntax
public class AllPairShortestPathResult<T, W> : object where W : IComparable
Type Parameters
Constructors
AllPairShortestPathResult(T, T, W, List<T>)
Declaration
public AllPairShortestPathResult(T source, T destination, W distance, List<T> path)
Parameters
Type |
Name |
Description |
T |
source |
|
T |
destination |
|
W |
distance |
|
List<T> |
path |
|
Properties
Destination
Declaration
public T Destination { get; }
Property Value
Distance
Declaration
public W Distance { get; }
Property Value
Path
Declaration
public List<T> Path { get; }
Property Value
Source
Declaration
Property Value