Wiki

Clone wiki

RogueSharp / RogueSharp.Algorithms / DijkstraShortestPath / PathTo

DijkstraShortestPathPathTo Method

Returns an IEnumerable of DirectedEdges representing a shortest path from the sourceVertex to the specified destinationVertex

Namespace: RogueSharp.Algorithms
Assembly:

Syntax

public IEnumerable<DirectedEdge> PathTo(
    int destinationVertex
)

Parameters

destinationVertex

Type: SystemInt32
The destination vertex to find a shortest path to

Return Value

Type: IEnumerableDirectedEdge
IEnumerable of DirectedEdges representing a shortest path from the sourceVertex to the specified destinationVertex

See Also

Reference

DijkstraShortestPath Class
RogueSharp.Algorithms Namespace

[4]: 2014-2016 Faron Bracy

Updated