Encyclopedia > NP

  Article Content

NP

In complexity theory, NP ("Non-deterministic Polynomial-time") is the set of decision problems solvable in polynomial time on a non-deterministic Turing machine. Or, equivalently, YES answers are checkable in polynomial time on a deterministic Turing machine given the right information.

A language L belongs to NP if there exists a two input polynomial time algorithm A and a constant c such that

L = {x in {0,1} | ∃ certificate, y with |y| = O(xc) such that A(x,y) = 1}
Algorithm A verifies L in polynomial time.


See Complexity classes P and NP and NP-Complete.

Alternate use: NP is also the ISO country code for Nepal.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Shinnecock Hills, New York

... As of the 2000 census, the town had a total population of 1,749. Geography Shinnecock Hills is located at 40°53'17" North, 72°27'42" West (40.888100, ...

 
 
 
This page was created in 26.8 ms