[WPI] [cs2223] [cs2223 text] [News] [Syllabus] [Classes] 

cs2223, D97/98 Class 18

Dynamic Programming

Dynamic programming is a way of optimizing some value or "cost". A key element is the use of recursion to reduce the calculation time required to perform the optimization. Several steps are involved in using dynamic programming algorithms to solve problems.

We demonstrated this process with the example of the change algorithm shown in Section 8.2 of the text. Note that some modifications of this algorithm may be required if there is no unit coin in the coinage system.

--------------------
[WPI Home Page] [cs2223 home page]  [cs2223 text] [News] [Syllabus] [Classes] 

Contents ©1994-1998, Norman Wittels
Updated 10Apr98