'Declaration
Public Overridable Function GetShortestPath( _ ByVal startVertex As NGraphVertex, _ ByVal endVertex As NGraphVertex _ ) As NGraphVertexList
'Usage
Dim instance As NGraph Dim startVertex As NGraphVertex Dim endVertex As NGraphVertex Dim value As NGraphVertexList value = instance.GetShortestPath(startVertex, endVertex)
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