Jump to content
Wikipedia The Free Encyclopedia

Counting problem (complexity)

From Wikipedia, the free encyclopedia
Type of computational problem
This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Counting problem" complexity – news · newspapers · books · scholar · JSTOR
(October 2014) (Learn how and when to remove this message)

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

c R ( x ) = | { y R ( x , y ) } | {\displaystyle c_{R}(x)=\vert \{y\mid R(x,y)\}\vert ,円} {\displaystyle c_{R}(x)=\vert \{y\mid R(x,y)\}\vert ,円}

is the corresponding counting function and

# R = { ( x , y ) y c R ( x ) } {\displaystyle \#R=\{(x,y)\mid y\leq c_{R}(x)\}} {\displaystyle \#R=\{(x,y)\mid y\leq c_{R}(x)\}}

denotes the corresponding decision 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

[edit ]
See also: #P and #P-complete

Just as NP has NP-complete problems via many-one reductions, #P has #P-complete problems via parsimonious reductions, problem transformations that preserve the number of solutions.[1]

See also

[edit ]

References

[edit ]
  1. ^ Barak, Boaz (Spring 2006). "Complexity of counting" (PDF). Princeton University.
[edit ]


P ≟ NP 

This theoretical computer science–related article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /