肝内胆管结石是什么意思| 拔智齿后可以吃什么| pa是什么意思| 白居易有什么之称| 鼻涕带血是什么原因| 左眼跳女人是什么预兆| 榴莲是什么季节的| 学渣什么意思| 分泌是什么意思| 献血和献血浆有什么区别| 尿道下裂是什么意思| 复查肺结节挂什么科| c4是什么驾驶证| 胃肠炎吃什么食物| 掰手指头响有什么危害| 攒劲是什么意思| 手电筒的金属外壳相当于电路中的什么| 教师节送老师什么礼物最好| 切勿是什么意思| 肱骨头小囊变什么意思| 拉尿分叉是什么原因| 6.14什么星座| 重庆什么时候解放的| 什么是客单价| 面瘫是什么| 颈部多发淋巴结是什么意思| 左心房扩大是什么意思| 浮屠是什么意思| 机油用什么能洗掉| 国师是什么意思| 肉夹馍是什么肉| 来大姨妈不能吃什么水果| 散粉和粉饼有什么区别| 莆田荔枝什么时候成熟| 脆鱼是什么鱼| 5月26是什么星座| 2月出生是什么星座| 下午三点是什么时辰| 利大于弊是什么意思| 婴儿泡奶粉用什么水好| 血压低吃什么好| 鬼最怕什么颜色| 什么是人设| 起床头疼是什么原因| 全身痒是什么病的前兆| 荷叶茶有什么功效和作用| 双肺索条灶是什么意思| 胆碱酯酶偏高说明什么| 奇花初胎矞矞皇皇是什么意思| 嗓子痛吃什么消炎药| 西夏是现在的什么地方| 梦见大火烧山是什么意思| 派出所传唤是什么意思| 冲太岁是什么意思| 孕妇吃核桃对胎儿有什么好处| 五味子什么味道| 论是什么意思| 腕管综合征吃什么药| 头皮痒掉发严重是什么原因| pg在医学是什么意思| 欢喜冤家是什么意思| 产后检查挂什么科| 燃脂是什么意思| 军士长是什么军衔| 为什么会得带状疱疹| 冷落是什么意思| 喉咙痛有什么好办法| 狮子被称为什么| 什么的香蕉| 月经不来吃什么药| 白陶土样便见于什么病| 勇敢的生肖是什么生肖| 许褚字什么| 抗核小体抗体阳性说明什么| 什么是生理盐水| 心电图pr间期缩短是什么意思| 为什么会得神经性皮炎| 拍拖是什么意思| 丑五行属什么| 抖s什么意思| 无花果和什么煲汤好| 尿频吃什么药效果最好| 人瘦肚子大是什么原因| 反复口腔溃疡是什么病的前兆| 麦粒肿用什么药| 超市理货员是做什么的| 1月12号是什么星座| 1950年属什么生肖| 舌头发苦是什么原因造成的| 膝盖不好的人适合什么运动| 阴囊湿疹是什么原因造成的| 高知是什么意思| 心脏右束支传导阻滞是什么意思| 牙痛什么原因引起的| 什么的小虾| ivory是什么意思| 梦见自己会开车了是什么意思| 右侧上颌窦粘膜增厚是什么意思| 回光返照什么意思| 什么是节气| 白芷有什么功效| 什么血型最招蚊子| 阳历10月是什么星座| 中国海警是什么编制| 女生的下体长什么样| 永字五行属什么| 马吃什么食物| 为什么睾丸一边大一边小| 爸爸的哥哥叫什么| 动车跟高铁有什么区别| 贫血吃什么最好| 垂问是什么意思| cindy什么意思| na医学上是什么意思| 形体是什么意思| 浅表性胃炎伴糜烂用什么药| jz是什么意思| 领略是什么意思| 银花有焰万家春是什么生肖| 00年属什么| 喜乐是什么意思| 7月26日是什么日子| 怀孕为什么会肚子痛| 丁克是什么| 1800年是什么朝代| 肿瘤挂什么科| 盆腔静脉石是什么意思| 甲醇对人体有什么伤害| 脂肪瘤去医院挂什么科| 单人旁的字和什么有关| 下游是什么意思| 女性得疱疹是什么症状| 心五行属性是什么| 什么是肾癌| 06年属什么| 相安无事什么意思| 金刚藤有什么功效| 肺不好挂什么科| 美国为什么打伊拉克| 光是什么| 金银花有什么功效和作用| 天蝎座和什么星座不合| 日龙包是什么意思| 中暑了喝什么| 炖鸡块放什么调料| 为什么门牙突然有缝了| 什么是甲状腺| 纪年是什么意思| 月经不规律吃什么药调理| 哈喽是什么意思| 明矾是什么东西| 出局是什么意思| 口臭吃什么药好| 蜕变是什么意思| 茗茶是什么茶| 做b超为什么要憋尿| 小狗感冒吃什么药| 勾股定理是什么意思| 是否是什么意思| 化疗后吃什么排毒最快| 什么是甲减病| vol是什么意思| 无名指和小指发麻是什么原因| hpv16是什么| 血稠有什么症状| 什么是癔病| 软饮是什么意思| 验大便能查出什么| 傻瓜是什么生肖| 金秘书为什么那样| 为什么会得霉菌感染| 南瓜是什么形状| 手部湿疹用什么药膏| 正装是什么样的衣服| 肺炎支原体感染吃什么药| 子宫什么样子图片| 流清水鼻涕是什么感冒| 三星堆遗址在什么地方| 抑菌是什么意思| 距离感是什么意思| 草鱼又叫什么鱼| 肌酸激酶偏低是什么原因| 头昏和头晕有什么区别| 蜂蜜吃了有什么好处| 准确值是什么意思| 喝牛奶有什么好处| 百字五行属什么| 口蘑是什么| aah是什么意思| 五光十色是什么生肖| 小厮是什么意思| 肺部做什么检查最准确| 版记是什么| 伟哥是什么| 贫血吃什么药好| 视力突然模糊是什么原因引起的| 为什么会吐| 什么水果降血糖| 马华念什么字| 荔枝有什么作用| 什么叫211大学| 感统训练是什么| 降结肠疼是什么原因| 摩羯男喜欢什么类型的女生| 梦到血是什么意思| 四季不安痣是什么意思| 4月28日什么星座| 牛b克拉斯什么意思| 水晶粉是什么原料做的| 三刀六洞什么意思| 无疾而终是什么意思| 狗改不了吃屎是什么意思| 疣体是什么病| 小猫的耳朵像什么| 什么的童话| 口蘑炒什么好吃| 腿脚肿胀是什么原因引起的| 颈椎病有些什么症状| 什么的温度| 摸摸唱是什么意思| 麻婆豆腐是什么菜系| 儿童感冒挂什么科| 脑垂体在什么位置图片| 肩膀疼是什么原因| romoss是什么牌子| 欧米茄算什么档次| 28年是什么婚| 虎视眈眈是什么意思| 提上日程是什么意思| enne是什么烟| 胆碱酯酶低是什么原因| 合影是什么意思| 油腻是什么意思| 孕吐是什么感觉| 什么是二氧化碳| 频发室性早搏吃什么药| 春梦是什么意思啊| 甲状腺功能三项查什么| 膝盖咔咔响吃什么药| 梁子是什么意思| 生源地是指什么| 用凝胶排出豆腐渣一样的东西是什么原因| 稽留热常见于什么病| 痔疮复发的原因是什么| 口苦口臭口干吃什么药| 胃不舒服挂什么科| 老婆生日送什么鲜花| 我行我素的人什么性格| 什么是有机物什么是无机物| 什么是翘舌音| 血小板太高会导致什么| 山药煲汤搭配什么好| 贵州有什么| 柠檬有什么功效| 61岁属什么生肖| 屁的成分是什么气体| 枸杞和山楂泡水喝有什么功效| 全脂奶粉是什么意思| crp高是什么感染| 胎动什么时候出现| 海豚吃什么食物| 突破性出血是什么意思| 经常打嗝放屁是什么原因| 关门弟子是什么意思| 百度Jump to content

美联储风险暂退 通胀担忧有望提振金价上破1400

From Wikipedia, the free encyclopedia
Diagram of randomised complexity classes
ZPP in relation to other probabilistic complexity classes (RP, co-RP, BPP, BQP, PP), which generalise P within PSPACE. It is unknown if any of these containments are strict.
百度 为了实现让大城市通勤过程更为愉快,在车内的时间更为舒适,让女士们在停车、用车时更简单。

In complexity theory, ZPP (zero-error probabilistic polynomial time) is the complexity class of problems for which a probabilistic Turing machine exists with these properties:

  • It always returns the correct YES or NO answer.
  • The running time is polynomial in expectation for every input.

In other words, if the algorithm is allowed to flip a truly-random coin while it is running, it will always return the correct answer and, for a problem of size n, there is some polynomial p(n) such that the average running time will be less than p(n), even though it might occasionally be much longer. Such an algorithm is called a Las Vegas algorithm.

Alternatively, ZPP can be defined as the class of problems for which a probabilistic Turing machine exists with these properties:

  • It always runs in polynomial time.
  • It returns an answer YES, NO or DO NOT KNOW.
  • The answer is always either DO NOT KNOW or the correct answer.
  • It returns DO NOT KNOW with probability at most 1/2 for every input (and the correct answer otherwise).

The two definitions are equivalent.

The definition of ZPP is based on probabilistic Turing machines, but, for clarity, note that other complexity classes based on them include BPP and RP. The class BQP is based on another machine with randomness: the quantum computer.

Intersection definition

[edit]

The class ZPP is exactly equal to the intersection of the classes RP and co-RP. This is often taken to be the definition of ZPP. To show this, first note that every problem which is in both RP and co-RP has a Las Vegas algorithm as follows:

  • Suppose we have a language L recognized by both the RP algorithm A and the (possibly completely different) co-RP algorithm B.
  • Given an input, run A on the input for one step. If it returns YES, the answer must be YES. Otherwise, run B on the input for one step. If it returns NO, the answer must be NO. If neither occurs, repeat this step.

Note that only one machine can ever give a wrong answer, and the chance of that machine giving the wrong answer during each repetition is at most 50%. This means that the chance of reaching the kth round shrinks exponentially in k, showing that the expected running time is polynomial. This shows that RP intersect co-RP is contained in ZPP.

To show that ZPP is contained in RP intersect co-RP, suppose we have a Las Vegas algorithm C to solve a problem. We can then construct the following RP algorithm:

  • Run C for at least double its expected running time. If it gives an answer, give that answer. If it doesn't give any answer before we stop it, give NO.

By Markov's Inequality, the chance that it will yield an answer before we stop it is at least 1/2. This means the chance we'll give the wrong answer on a YES instance, by stopping and yielding NO, is at most 1/2, fitting the definition of an RP algorithm. The co-RP algorithm is identical, except that it gives YES if C "times out".

Witness and proof

[edit]

The classes NP, RP and ZPP can be thought of in terms of proof of membership in a set.

Definition: A verifier V for a set X is a Turing machine such that:

  • if x is in X then there exists a string w such that V(x,w) accepts;
  • if x is not in X, then for all strings w, V(x,w) rejects.

The string w can be thought of as the proof of membership. In the case of short proofs (of length bounded by a polynomial in the size of the input) which can be efficiently verified (V is a polynomial-time deterministic Turing machine), the string w is called a witness.

Notes:

  • The definition is very asymmetric. The proof of x being in X is a single string. The proof of x not being in X is the collection of all strings, none of which is a proof of membership.
  • For all x in X there must be a witness to its membership in X.
  • The witness need not be a traditionally construed proof. If V is a probabilistic Turing machine which could possibly accept x if x is in X, then the proof is the string of coin flips which leads the machine to accept x (provided all members in X have some witness and the machine never accepts a non-member).
  • The co-concept is a proof of non-membership, or membership in the complement set.

The classes NP, RP and ZPP are sets which have witnesses for membership. The class NP requires only that witnesses exist. They may be very rare. Of the 2f(|x|) possible strings, with f a polynomial, only one need cause the verifier to accept (if x is in X. If x is not in X, no string will cause the verifier to accept).

For the classes RP and ZPP any string chosen at random will likely be a witness.

The corresponding co-classes have witness for non-membership. In particular, co-RP is the class of sets for which, if x is not in X, any randomly chosen string is likely to be a witness for non-membership. ZPP is the class of sets for which any random string is likely to be a witness of x in X, or x not in X, which ever the case may be.

Connecting this definition with other definitions of RP, co-RP and ZPP is easy. The probabilistic polynomial-time Turing Machine V*w(x) corresponds to the deterministic polynomial-time Turing Machine V(x, w) by replacing the random tape of V* with a second input tape for V on which is written the sequence of coin flips. By selecting the witness as a random string, the verifier is a probabilistic polynomial-time Turing Machine whose probability of accepting x when x is in X is large (greater than 1/2, say), but zero if x ? X (for RP); of rejecting x when x is not in X is large but zero if xX (for co-RP); and of correctly accepting or rejecting x as a member of X is large, but zero of incorrectly accepting or rejecting x (for ZPP).

By repeated random selection of a possible witness, the large probability that a random string is a witness gives an expected polynomial time algorithm for accepting or rejecting an input. Conversely, if the Turing Machine is expected polynomial-time (for any given x), then a considerable fraction of the runs must be polynomial-time bounded, and the coin sequence used in such a run will be a witness.

ZPP should be contrasted with BPP. The class BPP does not require witnesses, although witnesses are sufficient (hence BPP contains RP, co-RP and ZPP). A BPP language has V(x,w) accept on a (clear) majority of strings w if x is in X, and conversely reject on a (clear) majority of strings w if x is not in X. No single string w need be definitive, and therefore they cannot in general be considered proofs or witnesses.

Complexity-theoretic properties

[edit]

ZPP is closed under complement, i.e., ZPP = co-ZPP (this follows from ZPP = RP ∩ co-RP).

ZPP is low for itself, meaning that a ZPP machine with the power to solve ZPP problems instantly (a ZPP oracle machine) is not any more powerful than the machine without this extra power. In symbols, ZPPZPP = ZPP.

ZPPNPBPP = ZPPNP.

NPBPP is contained in ZPPNP.

Connection to other classes

[edit]

Since ZPP = RPcoRP, ZPP is obviously contained in both RP and coRP.

The class P is contained in ZPP, and some computer scientists have conjectured that P = ZPP, i.e., every Las Vegas algorithm has a deterministic polynomial-time equivalent.

There exists an oracle relative to which ZPP = EXPTIME. A proof for ZPP = EXPTIME would imply that PZPP, as PEXPTIME (see time hierarchy theorem).

See also

[edit]
[edit]
肝多发囊肿是什么意思 上午10点是什么时辰 robinhood是什么牌子 50年属什么 o型血为什么叫熊猫血
周莹是什么电视剧 什么东西最补心脏 多囊有什么症状 雪菜是什么菜 银耳为什么助湿气
蓝色妖姬适合送什么人 梦见抓龙虾是什么意思 细菌性结膜炎用什么眼药水 prada什么牌子 国五行属什么
咖啡烘培度有什么区别 眼冒金星是什么原因 蒲公英什么时候开花 陈皮是什么做的 5月26日是什么星座
什么的雨丝baiqunet.com 肺与大肠相表里是什么意思hcv9jop4ns9r.cn 还俗是什么意思dajiketang.com 什么叫排比句hcv8jop4ns6r.cn 头顶是什么穴位hcv8jop7ns4r.cn
左眉毛上有痣代表什么hcv9jop2ns8r.cn 咳嗽脑袋疼是什么原因hcv8jop0ns8r.cn 什么叫房颤hcv8jop2ns4r.cn 北京市副市长什么级别hcv7jop5ns6r.cn 输卵管堵塞是什么原因造成的hcv7jop9ns4r.cn
无意识是什么意思hcv8jop3ns7r.cn 后羿射日什么意思hcv9jop0ns0r.cn darling是什么意思hcv8jop8ns3r.cn 什么至什么来hcv8jop1ns2r.cn 为什么订婚后容易分手hcv8jop8ns0r.cn
化疗期间吃什么水果好naasee.com 双侧卵巢显示不清是什么意思hcv8jop1ns5r.cn 94是什么意思hcv8jop5ns8r.cn 姜字五行属什么hcv7jop9ns4r.cn 雯五行属什么hcv7jop5ns1r.cn
百度