Returns the number of vertices reachable from the source vertex (or source vertices).
the number of vertices reachable from the source vertex (or source vertices).
Is there a directed path from the source vertex (or any of the source vertices) and vertex v?
the vertex
true if there is a directed path, false otherwise.
Generated using TypeDoc
The
Directedclass represents a data type for determining the vertices reachable from a given source vertex s (or set of source vertices) in a digraph.For additional documentation, see Section 4.2 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.