1 / 19

CSCI-455/552

CSCI-455/552. Introduction to High Performance Computing Lecture 10. Chapter 4. Partitioning and Divide-and-Conquer Strategies. Partitioning. Partitioning simply divides the problem into parts. Divide and Conquer.

evonnes
Download Presentation

CSCI-455/552

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSCI-455/552 Introduction to High Performance Computing Lecture 10

  2. Chapter 4 Partitioning and Divide-and-Conquer Strategies

  3. Partitioning Partitioning simply divides the problem into parts. Divide and Conquer Characterized by dividing problem into sub-problems of same form as larger problem. Further divisions into still smaller sub-problems, usually done by recursion. Recursive divide and conquer amenable to parallelization because separate processes can be used for divided parts. Also usually data is naturally localized. 4.1

  4. Partitioning/Divide and Conquer Examples Many possibilities. • Operations on sequences of number such as simply adding them together • Several sorting algorithms can often be partitioned or constructed in a recursive fashion • Numerical integration • N-body problem 4.2

  5. Partitioning a Sequence of Numbers into Parts and Adding the parts 4.3

  6. Tree Construction 4.4

  7. Dividing a List into Parts 4.5

  8. Partial Summation 4.6

  9. Quadtree 4.7

  10. Dividing an Image 4.8

More Related