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
BPP (complexity)
(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!
{{Short description|Concept in computer science}} <span lang="es" dir="ltr">In</span> [[computational complexity theory]], a branch of computer science, '''bounded-error probabilistic polynomial time''' ('''BPP''') is the class of [[decision problem]]s solvable by a [[probabilistic Turing machine]] in [[polynomial time]] with an error [[probability]] bounded by 1/3 for all instances. '''BPP''' is one of the largest ''practical'' classes of problems, meaning most problems of interest in '''BPP''' have efficient [[probabilistic algorithm]]s that can be run quickly on real modern machines. '''BPP''' also contains '''[[P (complexity)|P]]''', the class of problems solvable in polynomial time with a deterministic machine, since a deterministic machine is a special case of a probabilistic machine. {| class="wikitable" style="float:right; clear:right; text-align:center; margin-left:1em;" |- !colspan="3"| BPP algorithm (1 run) |- ! {{diagonal split header|Correct<br />answer|Answer<div style{{=}}"padding-left:4em;">produced</div>}} ! {{yes}} ! {{no}} |- ! {{yes}} | β₯ 2/3 | β€ 1/3 |- ! {{no}} | β€ 1/3 | β₯ 2/3 |- !colspan="3"| BPP algorithm (''k'' runs) |- ! {{diagonal split header|Correct<br />answer|<div style{{=}}"padding-left:4em;">Answer</div>produced}} ! {{yes}} ! {{no}} |- ! {{yes}} | > 1 β 2<sup>β''ck''</sup> | < 2<sup>β''ck''</sup> |- ! {{no}} | < 2<sup>β''ck''</sup> | > 1 β 2<sup>β''ck''</sup> |- |colspan="3" style="font-size:85%"|for some constant ''c'' > 0 |} Informally, a problem is in '''BPP''' if there is an algorithm for it that has the following properties: *It is allowed to flip coins and make random decisions *It is guaranteed to run in polynomial time *On any given run of the algorithm, it has a probability of at most 1/3 of giving the wrong answer, whether the answer is YES or NO.
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)