Advice (complexity)

Advice (complexity)

Advice is a concept in complexity theory.

An advice string is an extra input to a Turing machine which is allowed to depend on the length "n" of the input, but not on input itself. A decision problem is in the complexity class P/f(n) if there is a polynomial time Turing machine "M" with the following property: for any "n", there is an advice string "A" of length "f(n)" such that, for any input "x" of length "n", the machine "M" correctly decides the problem on the input "x", given "x" and "A".

The most common complexity class involving advice is P/poly where advice length f(n) can be any polynomial in "n". P/poly is equal to the class of decision problems such that, for every "n", there exists a polynomial size Boolean circuit correctly deciding the problem on all inputs of length "n". One direction of the equivalence is easy to see. If, for every "n", there is a polynomial size Boolean circuit "A(n)" deciding the problem, we can use a Turing machine that interprets the advice string as a description of the circuit. Then, given the description of "A(n)" as the advice, the machine will correctly decide the problem on all inputs of length "n". The other direction uses a simulation of a polynomial-time Turing machine by a polynomial-size circuit as in one proof of Cook's Theorem. Simulating a Turing machine with advice is no more complicated than simulating an ordinary machine, since the advice string can be incorporated into the circuit.

Because of this equivalence, P/poly is sometimes defined as the class of decision problems solvable by polynomial size Boolean circuits, or by polynomial-size non-uniform Boolean circuits.

P/poly contains both P and BPP. It also contains some undecidable problems, such as the unary version of every undecidable problem, including the halting problem. Because of that, it is not contained in DTIME (f(n)) or NTIME (f(n)) for any "f".

Advice classes can be defined for other resource bounds instead of P. For example, taking a non-deterministic polynomial time Turing machine with an advice of length "f(n)" gives the complexity class NP/f(n). If we are allowed an advice of length "2n", we can use it to encode all of the values of "f" on inputs of length "n". Therefore, any function is computable with an advice of length "2n" and advice of more than exponential length is not meaningful.

Similarly, the class L/poly can be defined as deterministic logspace with a polynomial amount of advice.


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Advice — may refer to:*Advice (opinion), an opinion or recommendation offered as a guide to action, conduct. *Advice (constitutional), in constitutional law, a frequently binding instruction issued to a constitutional office holder *Advice in aspect… …   Wikipedia

  • List of computability and complexity topics — This is a list of computability and complexity topics, by Wikipedia page. Computability theory is the part of the theory of computation that deals with what can be computed, in principle. Computational complexity theory deals with how hard… …   Wikipedia

  • P (complexity) — In computational complexity theory, P, also known as PTIME or DTIME(nO(1)), is one of the most fundamental complexity classes. It contains all decision problems which can be solved by a deterministic Turing machine using a polynomial amount of… …   Wikipedia

  • Circuit complexity — In theoretical computer science, circuit complexity is a branch of computational complexity theory in which Boolean functions are classified according to the size or depth of Boolean circuits that compute them. A Boolean circuit with n input bits …   Wikipedia

  • Citizens Advice Bureau — The Citizens Advice Bureau Logo. A Citizens Advice Bureau (CAB) is one of a network of independent charities throughout the UK that give free, confidential information and advice to help people with their money, legal, consumer and other problems …   Wikipedia

  • china — /chuy neuh/, n. 1. a translucent ceramic material, biscuit fired at a high temperature, its glaze fired at a low temperature. 2. any porcelain ware. 3. plates, cups, saucers, etc., collectively. 4. figurines made of porcelain or ceramic material …   Universalium

  • China — /chuy neuh/, n. 1. People s Republic of, a country in E Asia. 1,221,591,778; 3,691,502 sq. mi. (9,560,990 sq. km). Cap.: Beijing. 2. Republic of. Also called Nationalist China. a republic consisting mainly of the island of Taiwan off the SE coast …   Universalium

  • UNITED STATES OF AMERICA — UNITED STATES OF AMERICA, country in N. America. This article is arranged according to the following outline: introduction Colonial Era, 1654–1776 Early National Period, 1776–1820 German Jewish Period, 1820–1880 East European Jewish Period,… …   Encyclopedia of Judaism

  • United Kingdom — a kingdom in NW Europe, consisting of Great Britain and Northern Ireland: formerly comprising Great Britain and Ireland 1801 1922. 58,610,182; 94,242 sq. mi. (244,100 sq. km). Cap.: London. Abbr.: U.K. Official name, United Kingdom of Great… …   Universalium

  • India — /in dee euh/, n. 1. Hindi, Bharat. a republic in S Asia: a union comprising 25 states and 7 union territories; formerly a British colony; gained independence Aug. 15, 1947; became a republic within the Commonwealth of Nations Jan. 26, 1950.… …   Universalium

Share the article and excerpts

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