Click or drag to resize
BreadthFirstPaths Methods

The BreadthFirstPaths type exposes the following members.

Methods
  NameDescription
Public methodDistTo
Returns the number of edges in a shortest path between the source vertex s (or sources) and vertex v?
Public methodHasPathTo
Is there a path between the source vertex s (or sources) and vertex v?
Public methodStatic memberMainTest
Demo test the BreadthFirstPaths data type.
Public methodPathTo
Returns a shortest path between the source vertex s (or sources) and v, or null if no such path.
Top
See Also