Skip to content
EntityQ1361526· pop 7· linked from 51 articles

reachability

Sign in to save

Also known as reachability relation

In graph theory, reachability refers to the ability to get from one vertex to another within a graph. A vertex s can reach a vertex t (and t is reachable from s) if there exists a sequence of adjacent vertices (i.e. a walk) which starts with s and ends with t.

~10 min read

Article

8 sections
Contents
  • Definition
  • Algorithms
  • Floyd–Warshall Algorithm
  • Thorup's Algorithm
  • Kameda's Algorithm
  • Related problems
  • See also
  • References

In graph theory, reachability refers to the ability to get from one vertex to another within a graph. A vertex s can reach a vertex t (and t is reachable from s) if there exists a sequence of adjacent vertices (i.e. a walk) which starts with s and ends with t.

In an undirected graph, reachability between all pairs of vertices can be determined by identifying the connected components of the graph. Any pair of vertices in such a graph can reach each other if and only if they belong to the same connected component; therefore, in such a graph, reachability is symmetric (s reaches t iff t reaches s). The connected components of an undirected graph can be identified in linear time. The remainder of this article focuses on the more difficult problem of determining pairwise reachability in a directed graph (which, incidentally, need not be symmetric).

Available in 7 languages

via Wikidata sitelinks · CC0

Connections

Categories