`
leonzhx
  • 浏览: 796638 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
阅读更多

1.  Reduction: Problem X reduces to problem Y if you can use an algorithm that solves Y to help solve X.


    --  Cost of solving X = total cost of solving Y + cost of reduction.

 

2.  Example of reduction: To solve element distinctness on N items:

    --  Sort N items.

    --  Check adjacent pairs for equality.

    --  Cost of solving element distinctness. N log N + N .

 

3.  Usage of Reduction : design algorithms. Since I know how to solve Y, can I use that algorithm to solve X ?

 

4.  Convex hull reduces to sorting:

    --  Choose point p with smallest (or largest) y-coordinate.

    --  Sort points by polar angle with p to get simple polygon.

    --  Consider points in order, and discard those that would create a clockwise turn.


    --  Cost of convex hull. N log N + N.

 

5.  Undirected shortest paths (with nonnegative weights) reduces to directed shortest path:

    --  Replace each undirected edge by two directed edges.

    --  Cost of undirected shortest paths. E log V + E.

    --  Can still solve shortest-paths problem in undirected graphs with negative weights (if no negative cycles), but need more sophisticated techniques.(reduces to weighted non-bipartite matching)

 

6. Linear-time reductions involving familiar problems:

 

7.  Reduction usage: establishing lower bounds. If I could easily solve Y, then I could easily solve X. If I can’t easily solve X. Therefore, I can’t easily solve Y. 

 

8.  Linear-time reductions: Problem X linear-time reduces to problem Y if X can be solved with:

    --  Linear number of standard computational steps.

    --  Constant number of calls to Y.

 

9.  Sorting linear-time reduces to convex hull.

    --  Sorting instance: x1, x2, ... , xN.

    --  Convex hull instance: (x1 , x1^2 ), (x2, x2^2 ), ... , (xN , xN^2 ).

    --  Region { x : x^2 ≥ x } is convex ⇒ all points are on hull.

    --  Starting at point with most negative x, counterclockwise order of hull points yields integers in ascending order.

 

10.  Establishing lower bounds through reduction is an important tool in guiding algorithm design efforts.

 

11.  Reduction usage: Classifying problems. Prove that two problems X and Y have the same complexity

    --  show that problem X linear-time reduces to Y.

    --  show that Y linear-time reduces to X.

    --  Conclude that X and Y have the same complexity. ( even if we don't know what the complexity is!)

 

12.  A possible real-world scenario.

    --  System designer specs the APIs for project.

    --  Alice implements sort() using convexHull().

    --  Bob implements convexHull() using sort().

    --  Infinite reduction loop!

 

13.  Integer arithmetic problems with the same complexity as integer multiplication

 

14.  Numerical linear algebra problems with the same complexity as matrix multiplication


 

15.  Summary:

    --  Reductions are important in theory to:

        -  Design algorithms.

        -  Establish lower bounds.

        -  Classify problems according to their computational requirements.

    --  Reductions are important in practice to:

        -  Design algorithms.

        -  Design reusable software modules.

        -  Determine difficulty of your problem and choose the right tool.

  • 大小: 6.1 KB
  • 大小: 21.9 KB
  • 大小: 13.9 KB
  • 大小: 16.3 KB
  • 大小: 23.9 KB
  • 大小: 32.3 KB
分享到:
评论

相关推荐

    noise reduction techniques in electronic system

    Ott的著作《noise reduction techniques in electronic system》的第二版内容,详细探讨电子系统中噪声抑制技术的知识。 本书第一版强调了电子系统抗干扰性的基本理论,而第二版为了适应数字电子设备和FCC规则的...

    文献阅读报告White-Box Transformers via Sparse Rate Reduction.docx

    "White-Box Transformers via Sparse Rate Reduction"文献阅读报告 白盒子Transformer架构是当前深度学习领域的一种具有数学可解释性的架构,在数据的压缩和稀疏表示学习的研究中取得了进展。本报告主要介绍了...

    Optimal Time-Domain Noise Reduction Filters--A Theoretical Study.pdf

    本内斯蒂在2011年发表的《Optimal Time-Domain Noise Reduction Filters--A Theoretical Study.pdf》是一篇关于时域噪声抑制理论的学术论文,它详细探讨了通过时间域滤波器进行噪声抑制的理论基础和实现方法。...

    Machine Learning for Model Order Reduction

    This Book discusses machine learning for model order reduction, which can be used in modern VLSI design to predict the behavior of an electronic circuit, via mathematical models that predict behavior....

    Noise Reduction in Speech Processing

    本内斯蒂于2009年出版的著作《Noise Reduction in Speech Processing》是该领域的一部重要作品,它详细探讨了语音处理中的噪声抑制技术,成为专业人士的重要参考书籍。 噪声抑制技术,也被广泛称为噪声消除,指的是...

    Data Reduction and Error Analysis for the physical sciences

    Data Reduction and Error Analysis for the physical sciences- Bevington, Philip R

    Distance Preserving Dimension Reduction for Manifold Learning

    根据给定的文件信息,本篇文章主要探讨了在流形学习中,如何利用距离保持降维(Distance Preserving Dimension Reduction, DPDR)算法来降低高维数据处理的计算复杂性。下面将详细介绍文章中提到的相关知识点。 ### ...

    Multi-Label dimensionality Reduction

    Multi-Label dimensionality Reduction Multi-label learning concerns supervised learning problems in which each instance may be associated with multiple labels simultaneously. A key difference between ...

    patch alignment for dimensionality reduction

    本文讨论的主题是降维(Dimensionality Reduction)在计算机视觉中的应用,特别是基于谱分析的降维算法。文章由悉尼大学的教授们撰写,涉及的标签为“论文”。文章内容从现有的降维技术出发,提出了一个新的概念框架...

    Variance reduction techniques and quasi-Monte Carlo methods ☆

    变异减少技术(Variance Reduction Techniques)和准蒙特卡罗方法(Quasi-Monte Carlo Methods, QMC)是解决高维积分问题的有效工具。在统计学、物理学、经济学及金融等领域中,许多复杂的高维积分无法通过解析方法...

    Optimizing parallel reduction in CUDA 规约优化文档

    标题“Optimizing parallel reduction in CUDA 规约优化文档”明确指出本文档的主要内容是关于如何在CUDA(Compute Unified Device Architecture)环境下对并行规约(parallel reduction)进行优化。 #### 描述解析...

    PAR REDUCTION IN OFDM VIA ACTIVE CONSTELLATION EXTENSION

    ### 关于OFDM中的PAR Reduction通过Active Constellation Extension方法 #### 概述 在正交频分复用(Orthogonal Frequency Division Multiplexing,简称OFDM)系统中,峰均功率比(Peak-to-Average Power Ratio,...

    Nonlinear Dimensionality Reduction

    The text provides a lucid summary of facts and concepts relating to well-known methods as well as recent developments in nonlinear dimensionality reduction. Methods are all described from a unifying ...

    Machine Learning for Model Order Reduction epub

    Machine Learning for Model Order Reduction 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Peak_Cancellation_Crest_Factor_Reduction_Reference_Design.pdf

    Peak_Cancellation_Crest_Factor_Reduction_Reference_Design xlinx的PC-CFR设计详细说明,教你如何用matlab搭建PC-CFR,可以用搭建的PC-CFR生产设计代码

    Dimensionality Reduction.pptx

    论文《Dimensionality Reduction-A Comparative Review》自制课堂用交流ppt,上传以方便同样阅读此论文的朋友阅读理解,全文已译,学习交流考虑所以设置0积分下载,请勿二传。

    HPE 3PAR Adaptive Data Reduction

    该文档为HPE 3PAR Adaptive Data Reduction技术说明,全英文。

Global site tag (gtag.js) - Google Analytics