- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
NP-Complete Problems
NP-Complete Problems Polynomial time vs exponential time Polynomial O(nk), where n is the input size (e.g., number of nodes in a graph, the length of strings , etc) of our problem and k is a constant (e.g., k=1, 2, 3, etc). Exponential time: 2n or nn. n= 2, 10, 20, 30 2n: 4 1024 1 million 1000 million Suppose our computer can solve a problem of size k (i.e., compute 2k operations) in a hour/week/month. If the new computer is 1024 times faster than ours, then the new computer can solve the problem of size k+10 in the same time. The improvement is very little. Hardware improvement has little use for solving problems that require exponential running time. Exponential running time is considered as “not efficient”. Story All algorithms we have studied so far are polynomial time algorithms. Facts: people have not yet found any polynomial time algorithms for some famous problems, (e.g., Hamilton Circuit, longest simple path, Steiner trees). Question: Do there exist polynomial time algorithms for those famous problems? Answer: No body knows. Story Research topic: Prove that polynomial time algorithms do not exist for those famous problems, e.g., Hamilton circuit problem. You can get Turing award if you can give the proof. In order to answer the above question, people define two classes of problems, P class and NP class. To answer if P?NP, a rich area, NP-completeness theory is developed. Class P and Class NP Class P contains those problems that are solvable in polynomial time. They are problems that can be solved in O(nk) time, where n is the input size and k is a constant. Class NP consists of those problem that are verifiable in polynomial time. What we mean here is that if we were somehow given a solution, then we can verify that the solution is correct in time polynomial in the input size to the problem. Example: Hamilton Circuit: given an order of the n distinct vertices (v1, v
您可能关注的文档
- Lecture-Chapter-03-2nd Law.pptx
- Lecture7 William Shakespeare.ppt
- lecture 8 trojan war.ppt
- Lesson 18 Nothing Is Perfect-07.4.25.ppt
- Lesson 12 Economy in the UK and the USA.ppt
- Lesson 2 Meet You in Beijing.ppt
- lesson 4 city and country-vocabulary & speaking 2.ppt
- lesson10_first_second_third.ppt
- LESSON 11 Halloween.ppt
- Lesson 9 A Dill Pickle.ppt
- Nothing in the world1.ppt
- NSCE 301 Outside_View.ppt
- NP-Completeness.ppt
- Observations on the Future Nature of Library Collecting.pptx
- O God, where art thou.ppt
- Nokia case study presentation.pptx
- Next move 2-Unit1-Lesson7-8.ppt
- old english period ¥.ppt
- OLeary2008CEComplete_Chapter2.ppt
- North American.ppt
原创力文档


文档评论(0)