List of complexity classes

From Free net encyclopedia

This is a list of complexity classes in computational complexity theory. For other computational and complexity subjects, see list of computability and complexity topics.

See computation for a chart showing which classes are subsets of other classes.

Many of these classes have a 'Co' partner which consists of the complements of all languages in the original class. For example if L is in NP then the complement of L is in Co-NP. (This doesn't mean that the complement of NP is Co-NP - there are languages which are known to be in both, and other languages which are known to be in neither.)

"The hardest problems" of a class refer to problems, which belong to the class and every other problem of that class can be reduced to it. Furthermore, the reduction is also a problem of the given class, or its subset.

If you don't see a class listed (such as Co-UP) you should look under its partner (such as UP).

#PCount solutions to an NP problem
#P-completeThe hardest problems in #P
AHThe arithmetic hierarchy
APThe class of problems alternating Turing machines can solve in polynomial time.
APXOptimization problems that have approximation algorithms with constant approximation ratio
AMSolvable in polynomial time by an Arthur-Merlin protocol
BPPSolvable in polynomial time by randomized algorithms (answer is probably right)
BQPSolvable in polynomial time on a quantum computer (answer is probably right)
Co-NP"NO" answers checkable in polynomial time by a non-deterministic machine
Co-NP-completeThe hardest problems in Co-NP
DSPACE(f(n))Solvable by a deterministic machine in space O(f(n)).
DTIME(f(n))Solvable by a deterministic machine in time O(f(n)).
ESolvable in exponential time with linear exponent
ELEMENTARYThe union of the classes in the exponential hierarchy
ESPACESolvable in exponential space with linear exponent
EXPSame as EXPTIME
EXPSPACESolvable in exponential space
EXPTIMESolvable with exponential time
FNPThe analogue of NP for function problems
FPThe analogue of P for function problems
FPNPThe analogue of PNP for function problems; the home of the traveling salesman problem
FPTFixed-parameter tractable
IPSolvable in polynomial time by an interactive proof system
LSolvable in logarithmic (small) space
LOGCFL Logspace-reducible to a context-free language
MASolvable in polynomial time by a Merlin-Arthur protocol
NCSolvable efficiently (in polylogarithmic time) on parallel computers
NESolvable by a non-deterministic machine in exponential time with linear exponent
NESPACESolvable by a non-deterministic machine in exponential space with linear exponent
NEXPSame as NEXPTIME
NEXPSPACESolvable by a non-deterministic machine in exponential space
NEXPTIMESolvable by a non-deterministic machine in exponential time
NL"YES" answers checkable in logarithmic space
NONELEMENTARYComplement of ELEMENTARY.
NP"YES" answers checkable in polynomial time by a non-deterministic machine (see complexity classes P and NP)
NP-completeThe hardest or most expressive problems in NP
NP-easyAnalogue to PNP for function problems; another name for FPNP
NP-equivalentThe hardest problems in FPNP
NP-hardEither NP-complete or harder
NSPACE(f(n))Solvable by a non-deterministic machine in space O(f(n)).
NTIME(f(n))Solvable by a non-deterministic machine in time O(f(n)).
PSolvable in polynomial time
P-completeThe hardest problems in P to solve on parallel computers
P/polySolvable in polynomial time given an "advice string" depending only on the input size
PCPProbabilistically Checkable Proof
PHThe union of the classes in the polynomial hierarchy
PNPSolvable in polynomial time with an oracle for a problem in NP; also known as Δ2P
PPProbabilistically Polynomial (answer is right with probability slightly more than ½)
PRSolvable by recursively building up arithmetic functions.
PSPACESolvable with polynomial memory and unlimited time
PSPACE-completeThe hardest problems in PSPACE
RSolvable in a finite amount of time.
REProblems to which we can answer "YES" in a finite amount of time, but a "NO" answer might never come.
RLSolvable in logarithmic space by randomized algorithms (NO answer is probably right, YES is certainly right)
RPSolvable in polynomial time by randomized algorithms (NO answer is probably right, YES is certainly right)
RLPSolvable in logarithmic space and polynomial time by randomized algorithms (NO answer is probably right, YES is certainly right)
SLProblems log-space reducible to determining if a path exist between given vertices in an undirected graph. In October 2004 it was discovered that this class is in fact equal to L.
UPUnambiguous Non-Deterministic Polytime functions.
ZPPSolvable by randomized algorithms (answer is always right, average running time is polynomial)

External link

es:Lista de clases de complejidad th:กลุ่มความซับซ้อน