Recent Articles



































List of complexity classes



         


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.)

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
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-NPNO answers checkable in polynomial time
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
IPSolvable in polynomial time by an interactive proof system
MASolvable in polynomial time by an 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
NPYES answers checkable in polynomial time (see complexity classes P and NP)
NP-completeThe hardest 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
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 ½)
PSPACESolvable with polynomial memory and unlimited time
PSPACE-completeThe hardest problems in PSPACE
RPSolvable in polynomial time by randomized algorithms (NO answer is probably right, YES is certainly right)
UPUnambiguous Non-Deterministic Polytime functions.
ZPPSolvable by randomized algorithms (answer is always right, average running time is polynomial)


[Top]




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License