Jump to content

Counting problem (complexity)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Widr (talk | contribs) at 08:11, 22 May 2015 (Reverted 1 edit by 118.148.137.15 using STiki). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computational complexity theory and computability theory, a counting problem is a type of computational problem. If R is a search problem then

is the corresponding counting function and

denotes the corresponding counting problem.

Note that cR is a search problem while #R is a decision problem, however cR can be C Cook reduced to #R (for appropriate C) using a binary search (the reason #R is defined the way it is, rather than being the graph of cR, is to make this binary search possible).

Counting complexity class

If NC is a complexity class associated with non-deterministic machines then #C = {#R | RNC} is the set of counting problems associated with each search problem in NC. In particular, #P is the class of counting problems associated with NP search problems.

  • "counting problem". PlanetMath.
  • "counting complexity class". PlanetMath.