
What is Dynamic Programming??
Moderator: Board moderators
-
- New poster
- Posts: 17
- Joined: Fri May 31, 2002 6:30 pm
- Contact:
What is Dynamic Programming??

-
- A great helper
- Posts: 284
- Joined: Thu Feb 28, 2002 2:00 am
- Location: Germany
- Contact:
It's a general, very useful technique. You'll find it in every good general algorithm book, for example Skiena or CLRS. It exploits optimal substructure and overlapping subproblems of problems and usually involves having a large table of answers for subproblems so that they're computed only once and in subsequent request just looked up in the table.
Dynamic Programming
Dynamic Programming
Definition: An algorithmic technique in which an optimization problem is solved by caching subproblem solutions (memoization) rather than recomputing them.
see http://www.nist.gov/dads/HTML/dynamicprog.html
Definition: An algorithmic technique in which an optimization problem is solved by caching subproblem solutions (memoization) rather than recomputing them.
see http://www.nist.gov/dads/HTML/dynamicprog.html
-
- A great helper
- Posts: 284
- Joined: Thu Feb 28, 2002 2:00 am
- Location: Germany
- Contact:
Hmm, I'm not sure if I'd accept that as a "definition". One thing that both you and I missed is that it's not only applied to optimization problems. Or is it only called DP when it is? Hmm...
Btw, has anybody read the book by Bellman and understood it? I looked into it once, but didn't get too far. It's pretty abstract, I think.
Btw, has anybody read the book by Bellman and understood it? I looked into it once, but didn't get too far. It's pretty abstract, I think.