Class ShortestPathResult<T, W>
Shortest path result object.
Inherited Members
Namespace: Advanced.Algorithms.Graph
Assembly: Advanced.Algorithms.dll
Syntax
public class ShortestPathResult<T, W>
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> |