TheBestLinks.com
TheBestLinks.com
Sharp-P, Boolean satisfiability problem, Complexity classes P and NP... Print friendly version | Tell a friend
 
Navigation
Search
Toolbox

Sharp-P

From TheBestLinks.com

#P, pronounced "sharp P", is a complexity class in computational complexity theory. It is the set of counting problems associated with the decision problems in the set NP.

An NP problem is often of the form:

  • Are there any solutions that satisfy certain constraints?

For example:

The corresponding #P problems ask "how many" rather than "are there any". For example:

  • How many subsets of a list of integers add up to zero?
  • How many Hamiltonian cycles in a given graph have cost less than 100?
  • How many variable assignments satisfy a given DNF formula?

More formally, a problem is in #P if there is a non-deterministic, polynomial-time Turing machine that, for each instance I of the problem, has a number of accepting computations that is exactly equal to the number of distinct solutions for instance I.

Clearly, a #P problem must be at least as hard as the corresponding NP problem. If it's easy to count answers, then it must be easy to tell whether there are any answers. Just count them, and see if the count is greater than zero. Therefore, the #P problem corresponding to any NP-Complete problem, must be NP-Hard.

Surprisingly, some #P problems that are believed to be difficult correspond to easy P problems. For more information on this, see sharp-P-complete.


Important complexity classes
P | NP | Co-NP | NP-C | Co-NP-C | NP-hard | UP | #P | #P-C | NC | P-C
PSPACE | PSPACE-C | EXPTIME | EXPSPACE | BQP | BPP | RP | ZPP | PCP | IP | PH


es:Numeral-P

Related links


Top visited 0 of 0 links

[no links posted yet]

>> place link >>

Discussion

Last posted 0 of 0 messages

[no messages posted yet]

>> post message >>

Watch

You can add this article to your own "watchlist" and receive e-mail notification about all changes in this page.
 
   
Innovate it
This page was last modified 03:10, 11 Sep 2004.
  Content is available under GNU Free Documentation License 1.2.
Powered by MediaWiki