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