thomas h cormen introduction to algorithms 2001

1.2K 197 0
thomas h cormen introduction to algorithms  2001

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... in the past), and so you should think of the Appendices as reference material On the other hand, you probably have not already seen most of the material in Part I All the chapters in Part I and the Appendices are written with a tutorial flavor 1 The Role of Algorithms in Computing What are algorithms? Why is the study of algorithms worthwhile? What is the role of algorithms relative to other technologies... 2n subsets of the points might be the vertices of the convex hull Knowing which points are vertices of the convex hull is not quite enough, either, since we also need to know the order in which they appear There are many choices, therefore, for the vertices of the convex hull Chapter 33 gives two good methods for finding the convex hull These lists are far from exhaustive (as you again have probably... particular, Chapter 4 contains methods for solving recurrences, which are useful for describing the running times of recursive algorithms One powerful technique is the “master method,” which can be used to solve recurrences that arise from divide-and-conquer algorithms Much of Chapter 4 is devoted to proving the correctness of the master method, though this proof may be skipped without harm Chapter 5 introduces... • There are three new chapters: • • • • Chapter 1 discusses the role of algorithms in computing Chapter 5 covers probabilistic analysis and randomized algorithms As in the first edition, these topics appear throughout the book Chapter 29 is devoted to linear programming Within chapters that were carried over from the first edition, there are new sections on the following topics: • • • perfect hashing... creativity To the student We hope that this textbook provides you with an enjoyable introduction to the field of algorithms We have attempted to make every algorithm accessible and interesting To help you when you encounter unfamiliar or difficult algorithms, we describe each one in a step-by-step manner We also provide careful explanations of the mathematics needed to understand the analysis of the algorithms. .. LIFFORD S TEIN May 2001 Hanover, New Hampshire Cambridge, Massachusetts Cambridge, Massachusetts Hanover, New Hampshire This page intentionally left blank Introduction to Algorithms Second Edition I Foundations Introduction This part will get you started in thinking about designing and analyzing algorithms It is intended to be a gentle introduction to how we specify algorithms, some of the design strategies... greedy algorithms (Section 16.2) are significantly expanded The exploration of the activity-selection problem, which starts off the greedyalgorithms chapter, helps to clarify the relationship between dynamic programming and greedy algorithms • We have replaced the proof of the running time of the disjoint-set-union data structure in Section 21.4 with a proof that uses the potential method to derive a tight... the problem size increases, so does the relative advantage of merge sort 12 Chapter 1 The Role of Algorithms in Computing Algorithms and other technologies The example above shows that algorithms, like computer hardware, are a technology Total system performance depends on choosing efficient algorithms as much as on choosing fast hardware Just as rapid advances are being made in other computer technologies,... developing tools for data analysis Each of these steps requires sophisticated algorithms While the solutions to the various problems involved are beyond the scope of this book, ideas from many of the chapters in this book are used in the solution of these biological problems, thereby enabling scientists to accomplish tasks while using resources efficiently The savings are in time, both human and machine,... with a central warehouse Each day, it loads up the truck at the warehouse and sends it around to several locations to make deliveries At the end of the day, the truck must end up back at the warehouse so that it is ready to be loaded for the next day To reduce costs, the company wants to select an order of delivery stops that yields the lowest overall distance traveled by the truck This problem is the . y0 w0 h0 " alt="" Introduction to Algorithms Second Edition This page intentionally left blank Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest Clifford Stein Introduction to Algorithms Second. from which you can pick and choose the material that best supports the course you wish to teach. You should find it easy to organize your course around just the chapters you need. We have made chapters. student We hope that this textbook provides you with an enjoyable introduction to the field of algorithms. We have attempted to make every algorithm accessible and interesting. To help you when you

Ngày đăng: 12/06/2014, 16:20

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan