The concave least-weight subsequence problem revisited
Journal of Algorithms
Speeding up dynamic programming with application to molecular biology
Theoretical Computer Science
A linear-time algorithm for concave one-dimensional dynamic programming
Information Processing Letters
Perspectives of Monge properties in optimization
Discrete Applied Mathematics
Optimal sequential paging in cellular wireless networks
Wireless Networks
Speeding up dynamic programming
SFCS '88 Proceedings of the 29th Annual Symposium on Foundations of Computer Science
Monge strikes again: optimal placement of web proxies in the internet
Operations Research Letters
IEEE Transactions on Information Theory
Hi-index | 0.06 |
Consider the Dynamic Program h(n) = min 1≤j≤na(n,j) for n = 1, 2, ..., N. For arbitrary values of a(n,j), calculating all the h(n) requires Θ(N2) time. It is well known that, if the a(n,j) satisfy the Monge property, then there are techniques to reduce the time down to O(N). This speedup is inherently static, i.e., it requires N to be known in advance. In this paper we show that if the a(n,j) satisfy a stronger condition, then it is possible, without knowing N in advance, to compute the values of h(n) in the order of n = 1, 2, ..., N, in O(1) amortized time per h(n). This maintains the DP speedup online, in the sense that the time to compute all h(n) is O(N). A slight modification of our algorithm restricts the worst case time to be O(logN) per h(n), while maintaining the amortized time bound. For a(n,j) that satisfy our stronger condition, our algorithm is also simpler to implement than the standard Monge speedup. We illustrate the use of our algorithm on two examples from the literature. The first shows how to make the speedup of the D-median on a line problem in an online settings. The second shows how to improve the running time for a DP used to reduce the amount of bandwidth needed when paging mobile wireless users.