NevronOpenVision
Nevron.Nov.DataStructures Namespace / NGraph Class / GetShortestPath Method
The start vertex
The end vertex
GetShortestPath Method
Returns the shortest path (if any) between the given vertices
Syntax
public virtual NGraphVertexList GetShortestPath( 
   NGraphVertex startVertex,
   NGraphVertex endVertex
)

Parameters

startVertex
The start vertex
endVertex
The end vertex

Return Value

The vertices in the shortest path without the start and the end vertex
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also