什么是义齿| 不速之客的速是什么意思| anca是什么检查| 齁不住是什么意思| 嗜睡乏力没精神容易疲劳是什么原因| 泪腺堵塞有什么症状| 珍惜眼前人是什么意思| 2010年是什么年| 痛风吃什么比较好| 小揪揪什么意思| 2月是什么星座的| 为什么出汗特别多| hla一b27阳性是什么意思| 什么不足| 吃完就拉是什么原因| 大四什么时候毕业| est.是什么意思| 377是什么| 梅花什么季节开| 扯证是什么意思| 癫疯是什么原因引起| 尿酸高什么原因| 为什么会射精| 云服务是什么| 一什么毛巾| 头上汗多是什么原因| 月经不调是什么原因| 风疹病毒抗体偏高是什么意思| 什么食物含硒| 什么是神经| 魔芋粉是什么做的| 什么可以美白| id是什么意思的缩写| 褐色是什么颜色的图片| 法令纹用什么填充效果最好| 入港是什么意思| 害羞的反义词是什么| 体细胞是什么| 宝宝什么时候添加辅食最好| 国安局是什么单位| 十月二十三号是什么星座| 张飞的兵器是什么| arr是什么| 重庆有什么特产| 熤是什么意思| 妊娠期是指什么时候| 蓬头垢面是什么意思| ccu是什么| 割包皮有什么影响| 翻墙是什么| 什么样的细雨| 猪肉不能和什么一起吃| 1978年属什么生肖| 脑梗看什么科| 贤侄是什么意思| 吴亦凡为什么叫牛| 水样便腹泻是什么引起| 炸鱼是什么意思| 红曲是什么东西| 分销是什么意思| 针灸要注意什么| 炖羊排放什么调料| 睾丸痒用什么药| 茶苯海明片是什么药| 小便是红色的是什么原因男性| 半夏微凉是什么意思| 带下病是什么病| 灵芝有什么作用| 对偶是什么| 黄油是什么| 硫酸羟氯喹片是治什么病| 吃瓜什么意思| 胃穿孔是什么症状| 乳腺导管扩张是什么意思| 紧张性头痛吃什么药| 来事吃什么水果好| 心动过速吃什么药| 肝脏排毒吃什么最好| 月经量少吃什么药调理| 皮鞋配什么裤子好看| 缓解紧张吃什么药| 一什么椅子| 吃奇亚籽有什么好处| 便秘是什么意思| 空腹洗澡有什么危害| 手麻抽筋是什么原因引起的| rpr是什么检查项目| 不明原因腹痛挂什么科| 试管都有什么方案| 儿童枕头用什么枕芯好| 原发性和继发性是什么意思| 马走日是什么意思| 慷慨什么意思| 宫外孕有什么症状| 走四方是什么生肖| 间质性改变是什么意思| 心脏病吃什么水果最好| 二甲双胍为什么晚上吃| 公鸡为什么会打鸣| 做宫颈筛查能查出什么| 文静是什么意思| 性生活时间短吃什么药| 丰胸吃什么食物有效果| 农历八月十五是什么节日| 状元是什么意思| 家蛇出现寓意什么| 妈妈像什么| 转氨酶是什么| 低氧血症是什么意思| 66岁属什么| 孕妇待产需要准备什么| 发蜡是什么| 肌酐高有什么危害| 内分泌失调什么症状| 王字旁的字跟什么有关| 10015是什么电话| 小酌怡情下一句是什么| 瓷娃娃什么意思| carrots是什么意思| 蒲公英长什么样子| 晚上扫地有什么说法| 可望不可求是什么意思| b超是检查什么的| 什么是雌激素| 鄙人不才是什么意思| 胰腺炎有什么症状| 冠心病吃什么水果| 什么人容易得心梗| 吃什么对脑血管好| 天蝎女和什么星座最配| 梦见和老公吵架是什么预兆| 信指什么生肖| 经常头晕头疼是什么原因| 丙氨酸氨基转移酶是什么意思| 一去不返是什么生肖| 碳14阴性是什么意思| 花旦是什么意思| 鬼一般找什么人压床| 咖啡有什么作用| 鹿沼土是什么土| 间是什么结构| 拘留所和看守所有什么区别| 日值上朔是什么意思| 血清铁蛋白低说明什么| Ca是什么| 为什么会上火| 足跟痛挂什么科| 把脉左右手代表什么| 散光和近视有什么区别| 胃疼能吃什么水果| 尿检隐血弱阳性是什么意思| 白细胞低是什么原因| 吃恩替卡韦有什么副作用| 今天中国什么节日| 牡丹是什么植物| 公主是什么意思| 过的第五笔是什么| 摩羯后面是什么星座| 蚱蜢吃什么食物| 坐飞机什么东西不能带| 脸色发黑是什么病的前兆| 6.19什么星座| 阴阳和合是什么意思| 美林是什么药| 酸野是什么| 小孩坐火车需要什么证件| 人到中年为什么会发胖| 帝女花讲的是什么故事| 起灵是什么意思| 簸箕是什么| 狮子座和什么星座不合| 不寐病是什么意思| 一步登天是什么生肖| 酒石酸是什么| 胰岛素过高会导致什么| 小腹疼是什么原因| 巧囊是什么原因形成的| 小老弟是什么意思| 早上起床口苦口干是什么原因| 节制的意思是什么| 人瘦肚子大是什么原因| 蜜枣是什么枣做的| 盆底脱垂有什么症状| 低密度脂蛋白高吃什么药| 兔子可以吃什么| 补钙最好的食物是什么| 我国计划生育什么时候开始| 什么是捞女| 什么减肥药效果最好而且不反弹| 孕妇脚抽筋是什么原因| 什么什么不乐| 亓是什么意思| 梦到头上长虱子什么意思| 嘘寒问暖是什么意思| 右边小腹疼是什么原因| 促甲状腺素高是什么意思| hopeshow是什么牌子| 绿豆什么时候成熟| 预测是什么意思| 晚上梦见蛇是什么预兆| 膝盖酸痛什么原因| 白带长什么样| 冰山一角是什么生肖| mra检查是什么意思| 临床治愈什么意思| 肩周炎吃什么药好得快| 女性绝经前有什么症状| 羸弱是什么意思| 神经酸是什么| 阴道炎用什么药效果好| 甲亢吃什么药最有效| 尿毒症是什么引起的| 巳时是什么时辰| 津液亏虚是什么意思| 什么可以代替润滑油| 喝咖啡有什么好处| 眉毛痒是什么原因| 客家人什么意思| 锦囊妙计是什么意思| 青蛙长什么样| 神经衰弱吃什么药效果最好| 牛蛋是什么| 糠疹是什么引起的| 白化病是什么能活多久| 劫财是什么意思| 刘五行属什么| 梦见孩子哭是什么意思| 柑橘溃疡病用什么药| 脑膜炎有什么症状| 乐高是什么| 阳历八月份是什么星座| 心情烦躁吃什么药| sunny是什么意思| 千张是什么| 肺部ct挂什么科| 吴亦凡属什么| 怀孕初期怕冷是什么原因| venes保温杯是什么品牌| 血红素是什么| 打2个喷嚏代表什么| 什么血型的人招蚊子| 14k金是什么意思| 驾驶证扣6分有什么影响| 南京立冬吃什么| 液化气是什么| 垂体是什么意思| 印第安老斑鸠什么意思| 吃什么东西去湿气| 阴吹是什么| 水当当是什么意思| offer是什么| 相生什么意思| 2月13号是什么星座| 什么不同成语| 羊膜是什么| 套路是什么意思| 夏占生女是什么意思| 姜红枣红糖一起煮有什么效果| 附件炎用什么药最好| 口是心非什么意思| 下午五点半是什么时辰| 凝血酶原时间是什么意思| 民间故事有什么| 口臭用什么牙膏| 百度Jump to content

扬州--江苏频道--人民网

From Wikipedia, the free encyclopedia
百度 除了学生、教师、家长,多位明星也现身游行队伍,这其中也包括了著名乐队披头士的前成员保罗·麦卡特尼,他在好友列侬遭枪击的地点附近参加了此次的活动。

In computational complexity theory, randomized polynomial time (RP) is the complexity class of problems for which a probabilistic Turing machine exists with these properties:

RP algorithm (1 run)
Answer produced
Correct
answer
Yes No
Yes ≥ 1/2 ≤ 1/2
No 0 1
RP algorithm (n runs)
Answer produced
Correct
answer
Yes No
Yes ≥ 1 ? 2?n ≤ 2?n
No 0 1
co-RP algorithm (1 run)
Answer produced
Correct
answer
Yes No
Yes 1 0
No ≤ 1/2 ≥ 1/2
  • It always runs in polynomial time in the input size
  • If the correct answer is NO, it always returns NO
  • If the correct answer is YES, then it returns YES with probability at least 1/2 (otherwise, it returns NO).

In other words, the algorithm is allowed to flip a truly random coin while it is running. The only case in which the algorithm can return YES is if the actual answer is YES; therefore if the algorithm terminates and produces YES, then the correct answer is definitely YES; however, the algorithm can terminate with NO regardless of the actual answer. That is, if the algorithm returns NO, it might be wrong.

Some authors call this class R, although this name is more commonly used for the class of recursive languages.

If the correct answer is YES and the algorithm is run n times with the result of each run statistically independent of the others, then it will return YES at least once with probability at least 1 ? 2?n. So if the algorithm is run 100 times, then the chance of it giving the wrong answer every time is lower than the chance that cosmic rays corrupted the memory of the computer running the algorithm.[1] In this sense, if a source of random numbers is available, most algorithms in RP are highly practical.

The fraction 1/2 in the definition is arbitrary. The set RP will contain exactly the same problems, even if the 1/2 is replaced by any constant nonzero probability less than 1; here constant means independent of the input to the algorithm.

Formal definition

[edit]

A language L is in RP if and only if there exists a probabilistic Turing machine M, such that

  • M runs for polynomial time on all inputs
  • For all x in L, M outputs 1 with probability greater than or equal to 1/2
  • For all x not in L, M outputs 0

Alternatively, RP can be defined using only deterministic Turing machines. A language L is in RP if and only if there exists a polynomial p and deterministic Turing machine M, such that

  • M runs for polynomial time p on all inputs
  • For all x in L, the fraction of strings y of length p(|x|) which satisfy ?? is greater than or equal to 1/2
  • For all x not in L, and all strings y of length p(|x|), ??

In this definition, the string y corresponds to the output of the random coin flips that the probabilistic Turing machine would have made. For some applications this definition is preferable since it does not mention probabilistic Turing machines.

[edit]
Diagram of randomised complexity classes
RP in relation to other probabilistic complexity classes (ZPP, co-RP, BPP, BQP, PP), which generalise P within PSPACE. It is unknown if any of these containments are strict.

The definition of RP says that a YES-answer is always right and that a NO-answer might be wrong, as a YES-instance can return a NO-answer. The complexity class co-RP is the complement, where a YES-answer might be wrong while a NO-answer is always right.

The class BPP describes algorithms that can give incorrect answers on both YES and NO instances, and thus contains both RP and co-RP. The intersection of the sets RP and co-RP is called ZPP. Just as RP may be called R, some authors use the name co-R rather than co-RP.

Connection to P and NP

[edit]
Unsolved problem in computer science
??

P is a subset of RP, which is a subset of NP. Similarly, P is a subset of co-RP which is a subset of co-NP. It is not known whether these inclusions are strict. However, if the commonly believed conjecture P = BPP is true, then RP, co-RP, and P collapse (are all equal). Assuming in addition that PNP, this then implies that RP is strictly contained in NP. It is not known whether RP = co-RP, or whether RP is a subset of the intersection of NP and co-NP, though this would be implied by P = BPP.

A natural example of a problem in co-RP currently not known to be in P is Polynomial Identity Testing, the problem of deciding whether a given multivariate arithmetic expression over the integers is the zero-polynomial. For instance, x·x ? y·y ? (x + y)·(x ? y) is the zero-polynomial while x·x + y·y is not.

An alternative characterization of RP that is sometimes easier to use is the set of problems recognizable by nondeterministic Turing machines where the machine accepts if and only if at least some constant fraction of the computation paths, independent of the input size, accept. NP on the other hand, needs only one accepting path, which could constitute an exponentially small fraction of the paths. This characterization makes the fact that RP is a subset of NP obvious.

See also

[edit]

References

[edit]
  1. ^ This comparison is attributed to Michael O. Rabin on p. 252 of Gasarch, William (2014), "Classifying Problems into Complexity Classes", in Memon, Atif (ed.), Advances in Computers, Vol. 95 (PDF), Academic Press, pp. 239–292.
[edit]
什么是单反相机 姜黄粉是什么 房颤什么症状 五谷丰登是什么生肖 学美容要学些什么
小孩手指脱皮是什么原因 右下眼皮跳是什么原因 痤疮用什么药膏最好 照影是什么意思 保胎针是什么药
猪脚和猪蹄有什么区别 木姜子是什么东西 什么是阴历什么是阳历 太虚幻境是什么意思 一个提手一个京念什么
胎盘成熟度0级什么意思 究竟涅盘是什么意思 落子是什么意思 出台什么意思 结核抗体阳性说明什么
什么品种的芒果最好吃tiangongnft.com 涵字取名的寓意是什么hcv9jop3ns9r.cn 脑囊肿是什么病严重吗hcv8jop8ns8r.cn 间隔旁型肺气肿是什么hcv9jop2ns5r.cn 赵丽颖的真名叫什么hcv9jop6ns9r.cn
小便痒痒是什么原因女hcv9jop0ns5r.cn 痛风是什么引起的hcv8jop5ns0r.cn 梦见蟒蛇是什么预兆hcv9jop4ns1r.cn 回族为什么姓马的多hcv8jop2ns3r.cn 输卵管囊肿是什么原因引起的hcv7jop9ns9r.cn
吃鹅蛋有什么好处hcv8jop6ns0r.cn 铁皮石斛花有什么作用hcv7jop6ns0r.cn 腋下淋巴结肿大挂什么科hcv9jop0ns7r.cn 大排畸什么时候做hcv8jop3ns8r.cn 农转非是什么意思hcv8jop6ns8r.cn
镶什么牙实惠耐用hcv8jop6ns3r.cn 1962属什么生肖baiqunet.com xpe是什么材料hcv9jop1ns1r.cn gl值是什么意思xinjiangjialails.com 头孢治什么hcv9jop7ns3r.cn
百度