St-connectivity
directed from "s" to "t" in the first graph, but not in the second.[src] In computer science, st-connectivity or STCON is a decision problem asking, for vertices s and t in a directed graph, if t is reachable from s.[src] Formally, the decision problem is given by : .[src]
directed from "s" to "t" in the first graph, but not in the second.]] In computer science, st-connectivity or STCON is a decision problem asking, for vertices s and t in a directed graph, if t is reachable from s.[src] Formally, the decision problem is given by .[src] The complement of st-connectivity, known as st-non-connectivity, is also in the class NL, since NL = coNL by the Immerman–Szelepcsényi theorem.[src] In particular, the problem of st-connectivity is actually NL-complete, that is, every problem in the class NL is reducible to connectivity under a log-space reduction.[src] This remains true for the stronger case of first-order reductions .[src] The log-space reduction from any language in NL to STCON proceeds as follows: Consider the non-deterministic log-space Turing machine M that accepts a language in NL.[src] Since there is only logarithmic space on the work tape, all possible states of the Turing machine (where a state is the state of the internal finite state machine, the position of the head and the contents of the work tape) are polynomially many.[src] Map all possible states of the deterministic log-space machine to vertices of a graph, and put an edge between u and v if the state v can be reached from u within one step of the non-deterministic machine.[src] Now the problem of whether the machine accepts is the same as the problem of whether there exists a path from the start state to the accepting state.[src] Savitch's theorem guarantees that the algorithm can be simulated in O(log 2 n) deterministic space.[src] The same problem for undirected graphs is called undirected s-t connectivity and was shown to be in L by Omer Reingold.[src] This research won him the 2005 Grace Murray Hopper Award.[src] Undirected st-connectivity was previously known to be complete for the class SL, so Reingold's work showed that SL is the same class as L.[src] On alternating graphs, the problem is P-complete .[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"St-connectivity." encyclopegia.org, 2026, https://encyclopegia.org/wiki/st-connectivity. Accessed 03 December 2026.
Chicago
"St-connectivity." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/st-connectivity.
APA
encyclopegia.org. (2026). St-connectivity. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/st-connectivity
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON