CMSC 451 Dave Mount CMSC 451 : Lecture 10 Dynamic Programming : Weighted Interval Scheduling

نویسنده

  • Dave Mount
چکیده

Dynamic Programming: In this lecture we begin our coverage of an important algorithm design technique, called dynamic programming (or DP for short). The technique is among the most powerful for designing algorithms for optimization problems. Dynamic programming is a powerful technique for solving optimization problems that have certain well-defined clean structural properties. (The meaning of this will become clearer once we have seen a few examples.)

منابع مشابه

CMSC 451 Dave Mount CMSC 451 : Lecture 12

Chain matrix multiplication: This problem involves the question of determining the optimal sequence for performing a series of operations. This general class of problem is important in compiler design for code optimization and in databases for query optimization. We will study the problem in a very restricted instance, where the dynamic programming issues are easiest to see. Suppose that we wis...

متن کامل

CMSC 451 Dave Mount CMSC 451 : Lecture 7 Greedy Algorithms for Scheduling

Interval Scheduling: We continue our discussion of greedy algorithms with a number of problems motivated by applications in resource scheduling. Our first problem is called interval scheduling. We are given a set R of n activity requests that are to be scheduled to use some resource. Each activity has a given start time si and a given finish time fi. For example, these may represent bids to use...

متن کامل

CMSC 451 Dave Mount CMSC 451 : Lecture 13 All - Pairs Shortest Paths and the Floyd - Warshall Algorithm Tuesday

All-Pairs Shortest Paths: Earlier, we saw that Dijkstra’s algorithm and the Bellman-Ford algorithm both solved the problem of computing shortest paths in graphs from a single source vertex. Suppose that we want instead to compute shortest paths between all pairs of vertices. We could do this applying either Dijkstra or Bellman-Ford using every vertex as a source, but today we will consider an a...

متن کامل

Mount CMSC 451 : Lecture 11 Dynamic Programming : Longest Common

Strings: One important area of algorithm design is the study of algorithms for character strings. Finding patterns or similarities within strings is fundamental to various applications, ranging from document analysis to computational biology. One common measure of similarity between two strings is the lengths of their longest common subsequence. Today, we will consider an efficient solution to ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

متن کامل
عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017