Efficient dynamic programming using quadrangle inequalities
F. Frances Yao · ACM Symposium on Theory of Computing (STOC) · 1980
Dynamic programming is one of several widely used problem-solving techniques in computer science and operation research. In applying this technique, one always seeks to find speed-up by taking advantage of special properties of the problem at hand. However, in the current state of art, ad hoc approaches for speeding up seem to be characteristic; few general criteria are known. In this paper we give a quadrangle inequality condition for rendering speed-up. This condition is easily checked, and can be applied to several apparently different problems. For example, it follows immediately from our general condition that the construction of optimal binary search trees may be speeded up from O(n3) steps to O(n2), a result that was first obtained by Knuth using a different and rather complicated argument.
Cited by 133 works. doi:10.1145/800141.804691 Open-access PDF
Authors
References
- The Art of Computer Programming
- The Design and Analysis of Computer Algorithms
- The Art of Computer Programming
- Algorithm 97: Shortest path
- Recognition and parsing of context-free languages in time n3
- Optimum binary search trees
- On a general method for maximizing and minimizing among certain geometric problems
- Dynamic programming in computer science
- Optimum binary search trees
- ON ALPHABETIC-EXTENDED BINARY TREES WITH RESTRICTED PATH LENGTH