- 1、本文档共53页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
z-Approximations.ppt
z-Approximations Refael Hassin Samir Khuller Introduction 傳統分析方法 傳統分析方法的困境 新的分析方法 傳統分析方法 OPT 是針對NP problem的最佳解. C 假設是我們approximation algo. 所求的cost. 求最大值 C = (1-?)*OPT (0 ?1) 求最小值 C = (1+?)*OPT (0 ?1) 傳統分析方法的困境 不好的approximation會被以為是好的approximation,像vertex cover,用maximum matching找到的有可能是所有的vertices. 有些NP的問題用傳統方法會找不到?-approximation,像 generic TSP,如果找的到的話,則NP=P. 新的分析方法 以前都是跟最佳解來做比較,看是否能在最佳解的 ? 倍以內. (0 ?1) 假設我們可以找到一個best sol’n跟一個worst sol’n,則我們的approximation algo.所產生的cost是用來跟best sol’n的cost跟worst sol’n的cost間來比較,則這是我們新的評估方法. z-Approximation (新的分析法) 以求最大值為例 worst sol’n OPT best z-Approximation for minimization problems c(S)是我們所求的一個解的cost c(best)是找出來的一個很好的解的cost c(worst)是找出來的一個很差的解的cost z-Approximation for maximization problems z-Approximation for some NP problems TSP ? z-Approximation for directed graph. 1/3 z-Approximation for undirected graph. Max cut and Min cluster ?(n/n-2) z-Approximation. (n是點的個數) Minimum disjoint cycle cover 1/3 z-Approximation Minimum dominating set ? z-Approximation ? z-approximation ~ Directed TSP Input : Directed Complete Graph G = (V, A) with weights c( i, j ) . Output : minimum cost simple cycle on V. Facts ~ Christofides ‘76 The well known algorithm which guarantee bounded ratio (3/2) approximations for the minimum (metric) TSP on undirected may still output worst solutions on such instances. Facts ~ Christofides ‘76 For example, consider a complete graph with unit length edges for all but a single edge whose length is two. Cycle cover Cycle Cover is a set of vertex disjoint cycles which span the vertex set. A minimum cost cycle cover can be computed in P-time in the directed case by reducing to the assignment problem. Algorithm Step 1 Compute a minimum cost directed cycle cover DCC. It contains a single cycle return this cycle (it is an optimal tour). Otherwise, arbitrarily fix a cyclic order of the cycles in DCC. Denote the cycles in the
您可能关注的文档
- Take a Close Look at MapReduce.ppt
- Teaching Oral English.ppt
- TEVAR术后I型内漏的处理.ppt
- The doctor's advice.ppt
- The eXtensible Markup Language (XML).ppt
- The Factory Pattern(工厂模式).ppt
- The First Period of Unit 1, SEFC I.ppt
- The Mean Value Theorem.ppt
- The NCNR Spin-Polarized Triple-Axis Spectrometer (SPINS).ppt
- The Relationship Between Total and Marginal Values.ppt
- 数据仓库:Redshift:Redshift与BI工具集成.docx
- 数据仓库:Redshift:数据仓库原理与设计.docx
- 数据仓库:Snowflake:数据仓库成本控制与Snowflake定价策略.docx
- 大数据基础:大数据概述:大数据处理框架MapReduce.docx
- 实时计算:GoogleDataflow服务架构解析.docx
- 分布式存储系统:HDFS与MapReduce集成教程.docx
- 实时计算:Azure Stream Analytics:数据流窗口与聚合操作.docx
- 实时计算:Kafka Streams:Kafka Streams架构与原理.docx
- 实时计算:Kafka Streams:Kafka Streams连接器开发与使用.docx
- 数据仓库:BigQuery:BigQuery数据分区与索引优化.docx
文档评论(0)