Macaulay2 » Documentation
Packages » Graphs :: reachable
next | previous | forward | backward | up | index | toc

reachable -- Returns the vertices reachable in a digraph from a given collection of vertices

Description

Given a collection of vertices of a digraph, the reachable vertices are those that are on a path away from a vertices in the collection.

See also

Ways to use reachable:

  • reachable(Digraph,List)
  • reachable(Digraph,Set)

For the programmer

The object reachable is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Graphs.m2:4048:0.