reachability
Sign in to saveAlso 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.
Wikidata facts
- Instance of
- binary relation
Show 2 more facts
- studied by
- graph theory
- characteristic of
- node
Sources (2)
via Wikidata · CC0
~10 min read
Encyclopedic overview
8 sectionsContents
- 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).
Excerpted from Wikipedia’s “reachability” article, available under the CC BY-SA 4.0 licence.