Class ShortestPathResult<T, W>
Shortest path result object.
Namespace: Advanced.Algorithms.Graph
Assembly: Advanced.Algorithms.dll
Syntax
public class ShortestPathResult<T, W> : object where W : IComparable
Type Parameters
Name | Description |
---|---|
T | |
W |
Constructors
ShortestPathResult(List<T>, W)
Declaration
public ShortestPathResult(List<T> path, W length)
Parameters
Type | Name | Description |
---|---|---|
List<T> | path | |
W | length |
Properties
Length
Declaration
public W Length { get; }
Property Value
Type | Description |
---|---|
W |
Path
Declaration
public List<T> Path { get; }
Property Value
Type | Description |
---|---|
List<T> |