Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Decision problem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Definition== A ''decision problem'' is the [[formal language]] of all inputs for which the output (the answer to the yes-no question on a given input) is ''YES''.<ref group="notes" name="def"/> * These inputs can be natural numbers, but can also be values of some other kind, like binary [[string (computer science)|string]]s or strings over some other [[Alphabet (computer science)|alphabet]]. * For example, if every input can be encoded by the alphabet <math>\{0,1\}</math>, then a decision problem is a subset <math>L\subseteq\{0,1\}^*</math>.<ref group="notes" name="def"/> * For another example, using an encoding such as [[Gödel numbering]], any string can be encoded as a natural number, via which a decision problem can be defined as a subset of the natural numbers. Therefore, the decision procedure of a decision problem is to compute the [[Indicator function|characteristic function]] of a subset of the natural numbers.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)