| The Knuth-Yao quadrangle-inequality speedup is a consequence of total-monotonicity |
| Full text |
Pdf
(348 KB)
|
| Source
|
Symposium on Discrete Algorithms
archive
Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm
table of contents
Miami, Florida
Pages: 31 - 40
Year of Publication: 2006
ISBN:0-89871-605-5
|
|
Authors
|
|
Wolfgang W. Bein
|
University of Nevada, Las Vegas, NV
|
|
Mordecai J. Golin
|
Hong Cong UST, Clear Water Bay, Kowloon, Hong Kong
|
|
Lawrence L. Larmore
|
University of Nevada, Las Vegas, NV
|
|
Yan Zhang
|
Hong Cong UST, Clear Water Bay, Kowloon, Hong Kong
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 9, Downloads (12 Months): 48, Citation Count: 0
|
|
|
ABSTRACT
There exist several general techniques in the literature for speeding up naive implementations of dynamic programming. Two of the best known are the Knuth-Yao quadrangle inequality speedup and the SMAWK algorithm for finding the row-minima of totally monotone matrices. Although both of these techniques use a quadrangle inequality and seem similar they are actually quite different and have been used differently in the literature.In this paper we show that the Knuth-Yao technique is actually a direct consequence of total monotonicity. As well as providing new derivations of the Knuth-Yao result, this also permits showing how to solve the Knuth-Yao problem directly using the SMAWK algorithm. Another consequence of this approach is a method for solving online versions of problems with the Knuth-Yao property. The online algorithms given here are asymptotically as fast as the best previously known static ones. For example the Knuth-Yao technique speeds up the standard dynamic program for finding the optimal binary search tree of n elements from Θ(n3) down to O(n2), and the results in this paper allow construction of an optimal binary search tree in an online fashion (adding a node to the left or right of the current nodes at each step) in O(n) time per step.We conclude by discussing how the general technique described here is also applicable to later extensions of the Knuth-Yao result, such as those developed by Borchers and Gupta.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Alok Aggarwal, Maria M. Klawe, Shlomo Moran, Peter W. Shor, and Robert E. Wilber. Geometric applications of a matrix-searching algorithm. Algorithmica, 2:195--208, 1987.
|
| |
2
|
Alok Aggarwal and James Park. Notes on searching in multidimensional monotone arrays. In Proceedings of the 29th Annual Symposium on Foundations of Computer Science, pages 497--512, 1988.
|
 |
3
|
M. J. Atallah , S. R. Kosaraju , L. L. Larmore , G. L. Miller , S.-H. Teng, Constructing trees in parallel, Proceedings of the first annual ACM symposium on Parallel algorithms and architectures, p.421-431, June 18-21, 1989, Santa Fe, New Mexico, United States
[doi> 10.1145/72935.72980]
|
| |
4
|
|
| |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
E. N. Gilbert and E. F. Moore. Variable length encodings. Bell System Technical Journal, 38:933--967, 1959.
|
| |
9
|
Donald E. Knuth. Optimum binary search trees. Acta Informatica, 1:14--25, 1971.
|
| |
10
|
|
| |
11
|
Sailesh K. Rao, P. Sadayappan, Frank K. Hwang, and Peter W. Shor. The rectilinear steiner arborescence problem. Algorithmica, 7(2-3):277--288, 1992.
|
| |
12
|
|
| |
13
|
Russell L. Wessner. Optimal alphabetic search trees with restricted maximal height. Information Processing Letters, 4(4):90--94, 1976.
|
| |
14
|
|
 |
15
|
|
| |
16
|
F. Frances Yao. Speed-up in dynamic programming. SIAM Journal on Matrix Analysis and Applications (formerly SIAM Journal on Algebraic and Discrete Methods), 3(4):532--540, 1982.
|
|