Click or drag to resize
BreadthFirstDirectedPaths Methods

The BreadthFirstDirectedPaths type exposes the following members.

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