Abstract
It is known that many problems which can be solved sequentially by dynamic programming, are in the class NC. Indeed most of these problems takes O(log2 n) time on parallel models like CREW PRAM, but the number of processors involved is usually a high degree polynomial and the total work (i.e., the processor-time product) is very unfavorable in comparing with the work (i.e., the time) in the sequential case. Recently there has been a lot of progress in speeding up dynamic programming sequentially by restricting the weight functions to satisfy the quadrangle inequalities or the inverse quadrangle inequalities, yet little was heard about any improvement in the parallel complexity. Thus, it is time to see whether such kind of restrictions can lead to any improvement in the processor complexity of these problems. In this paper, we study the least-weight subsequence problem which is a typical problem for one-dimensional dynamic programming. The well known sequential solution to this problem takes O(n log n) time, while the conventional parallel algorithm uses O(log2 n) time on a CREW PRAM with n 3 processors. Our new result is that with the inverse quadrangle inequality, the problem can be solved in O(log2 n log log n) time on a CREW PRAM with n/log log n processors. Notice that the processor-time complexity is close to the sequential time complexity.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
M. J. Atallah, S. R. Kosaraju, L. L. Larmore, G. L. Miller, and S-H. Teng, Constructing Trees in Parallel, Proceedings of the 1989 ACM Symposium on Parallel Algorithms and Architectures, 1989, 421–431.
A. Aggarwal, M. Klawe, S. Moran, P. Shor, and R. Wilber, Geometric Application of A Matrix-Searching Algorithm, Algorithmica, (2) 1987, 195–208.
A. Aggarwal and J. Park, Notes on Searching in Multidimensional Arrays, Proceedings of the 29th Annual IEEE Symposium on Foundations of Computer Science, 1988, 497–512.
K.F. Chan and T.W. Lam, Processor-Efficient Parallel Algorithms for Convex Least-Weight Subsequence Problem, Technical Report, Dept. of Computer Science, University of Hong Kong.
D. Eppstein, Z. Galil, R. Giancarlo, G. Italiano, Sparse Dynamic Programming, Proceedings of the First ACM-SIAM Symposium on Discrete Algorithms, 1990, 513–522.
S. Fortune and J. Wyllie, Parallelism in Random Access Machines, Proceedings of the Tenth Annual ACM Symposium on Theory of Computing, 1978, 114–118.
W. Rytter, Notes on Efficient Parallel Computations for Some Dynamic Programming, Theoretical Computer Science 59, 1988, 297–307.
Z. Galil, R. Giancarlo, Speeding up Dynamic Programming with Applications to Molecular Biology, Theoretical Computer Science 64, 1989, 107–118.
D.S. Hirschberg and L.L. Larmore, The Least Weight Subsequence Problem, SIAM Journal on Computing 16, 1987, 628–638.
M.M. Klawe, Speeding Up Dynamic Programming, Manuscript.
F.L. Miller and J.H. Reif, Parallel Tree Contraction and Its Applications, Proceedings of the 26th Annal IEEE Symposium on Foundations of Computer Science, 1985, 496–503.
R. Wilber, The Concave Least Weight Subsequence Problem Revisited, Journal of Algorithms, 9(3) September 1988, 418–425.
F.F. Yao, Efficient Dynamic Programming Using Quadrangle Inequalities, Proceedings of the 12th ACM Symposium on Theory of Computing, 1980, 429–435.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1990 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chan, Kf., Lam, Tw. (1990). Finding least-weight subsequences with fewer processors. In: Asano, T., Ibaraki, T., Imai, H., Nishizeki, T. (eds) Algorithms. SIGAL 1990. Lecture Notes in Computer Science, vol 450. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-52921-7_81
Download citation
DOI: https://doi.org/10.1007/3-540-52921-7_81
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-52921-7
Online ISBN: 978-3-540-47177-6
eBook Packages: Springer Book Archive