Configuration graph

Configuration graph

Configuration graphs are a theoretical tool used in computational complexity theory to prove a relation between graph reachability and complexity classes.

Contents

Definition

A theoretical computational model, like Turing machine or finite automata, explains how to do a computation. The model explains both what is an initial configuration of the machine and which steps can be taken to continue the computation, until we eventually stop. A configuration, also called an Instantaneous Description(ID) is a finite representation of the machine at a given time. For example, for a finite automata and a given input, the configuration will be the current state and the number of read letters, for a Turing machine it will be the state, the content of the tape and the position of the head. A configuration graph is a directed labeled graph where the label of the vertices are the possible configurations of the models and where there is an edge from one configuration to another if it correspond to a computational step of the model.

The initial and accepting configuration(s) of the machine are special vertices of the configuration graph. The computation accepts if and only if there is a path from an initial vertex to an accepting vertex.

Useful property

If the computation is deterministic then from any configuration there is at most one possible step, so the graph is of out-degree 1, and there is exactly one initial state. Once we add a dummy initial vertex with an edge to every initial vertex and a dummy accepting vertex with an edge from every accepting vertex, checking if there is an accepting computation only requires to check if there is a path from the initial vertex to the accepting vertex, which is the reachability problem. A cycle in the graph means that there is a possible infinite loop in the computation.

The computational graph can be of infinite size if there are no restrictions on possible configurations; indeed, it is easy to see that there are turing machines which can reach arbitrarily large configurations. It is also possible to have finite graphs: on finite automata, the configuration is composed of the position of the head and the current state, so the configuration graph is of size O(n).

Use of this object

This notion is useful because it reduces computational problems to graph reachability problems.

For example, since reachability is in NL when we can represent configurations in space which is logarithmic in the size of the input, and since the configuration of the Turing Machine in NL is indeed of logarithmic size, then graph-reachability is complete for NL.[1]

In the other direction, it helps to verify the complexity of a computation model; the decision problem for a (deterministic) model whose configuration are of space which is logarithmic in the size of the input is in (L) NL. This is for example the case of finite automata and finite automata with one counter.

References

  1. ^ Papadimitriou, Christos H. (1994). Computational Complexity, Reading, Massachusetts: Addison-Wesley. ISBN 0-201-53082-1.
  • Sanjeev Arora and Boaz Barak (2009). Computational complexity, a modern approach. Cambridge University Press. ISBN 978-0-521-42426-4.  Section 4.3: NL-completeness, p. 87.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Graph pebbling — is a mathematical game and area of interest played on a graph with pebbles on the vertices. Game play is composed of a series of pebbling moves. A pebbling move on a graph consists of taking two pebbles off one vertex and placing one on an… …   Wikipedia

  • Möbius–Kantor graph — Named after August Ferdinand Möbius and S. Kantor Vertices 16 …   Wikipedia

  • Levi graph — infobox graph name = Levi graph image caption = The Pappus graph, a Levi graph with 18 vertices formed from the Pappus configuration. Vertices labeled with single letters correspond to points in the configuration; vertices labeled with three… …   Wikipedia

  • Desargues graph — Named after Gérard Desargues Vertices 20 Edges 30 …   Wikipedia

  • Gray graph — infobox graph name = Gray graph image caption = namesake = Marion Cameron Gray vertices = 54 edges = 81 girth = 8 chromatic number = 2 chromatic index = 3 properties = Cubic Semi symmetricIn mathematics, the Gray graph is an undirected bipartite… …   Wikipedia

  • Möbius configuration — Example of Möbius configuration; the face planes of red tetrahedron are shown on the top of the image; the blue one on the bottom. The vertex coordinates of the red tetrahedron are: (0,0,0),(0,0,1),(0,1,0),(1,0,0). The vertex coordinates of the… …   Wikipedia

  • Pappus configuration — In projective geometry, the Pappus configuration consists of a pair (( A , B , C ), ( D , E , F )) of triplets of points, which pair is located either on a pair of lines or on two sides of a conic section, with a hexagon AECDBF defined on the… …   Wikipedia

  • Pappus graph — infobox graph name = Pappus graph image caption = The Pappus graph, a Levi graph with 18 vertices formed from the Pappus configuration. namesake = Pappus of Alexandria vertices = 18 edges = 27 chromatic number = chromatic index = properties =… …   Wikipedia

  • Turán graph — The Turán graph T(13,4) Named after Pál Turán v · …   Wikipedia

  • Nauru graph — The Nauru graph is Hamiltonian. Vertices 24 Edges 36 Radius 4 …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”