Welcome to mapoid.com on July 6 2009.
This is an internet experiment running to monitor browsing habbits of individuals through wikipedia contents.

st-connectivity

From Wikipedia, the free encyclopedia

Jump to: navigation, search

In computer science and computational complexity theory, st-connectivity is a decision problem asking, for vertices s and t in a directed graph, if t is reachable from s.

Formally, the decision problem is given by PATH = {<D, s, t> | D is a directed graph with a path from vertex s to t}.

[edit] Complexity

The problem can be shown to be in NL, as a non-deterministic Turing machine can guess the next node of the path, while the only information which has to be stored is which node is the node currently under consideration. The algorithm terminates if either the target node t is reached, or the path so far exceeds m, the number of nodes in the graph.

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.

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. This remains true for the stronger case of first-order reductions (Immerman 1999, p. 51).

Savitch's theorem guarantees that the algorithm can be simulated in log2n deterministic space, and Omer Reingold won the Grace Murray Hopper Award in 2005 for discovering a deterministic st-connectivity algorithm.

The same problem for undirected graphs is called undirected s-t connectivity and is log-space complete for the class SL, recently shown to be equal to L. On alternating graphs, the problem is complete for P.[1]

[edit] See also

[edit] References

  1. ^ Immerman, Neil (1999). Descriptive Complexity. New York: Springer-Verlag. p. 54. ISBN 0-387-98600-6. 
Personal tools
Languages

Visit joltnews for the latest headlines
Visit bloit.com for company information
Geed Media does computer consulting on long island.
This page viewed times. See Logs