BreadthFirstPaths Methods |
The BreadthFirstPaths type exposes the following members.
Name | Description | |
---|---|---|
![]() | DistTo |
Returns the number of edges in a shortest path between the source vertex s
(or sources) and vertex v? |
![]() | HasPathTo |
Is there a path between the source vertex s (or sources) and vertex v? |
![]() ![]() | MainTest |
Demo test the BreadthFirstPaths data type. |
![]() | PathTo |
Returns a shortest path between the source vertex s (or sources)
and v, or null if no such path. |