Skip to main content

Finding least-weight subsequences with fewer processors

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 450))

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.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. A. Aggarwal, M. Klawe, S. Moran, P. Shor, and R. Wilber, Geometric Application of A Matrix-Searching Algorithm, Algorithmica, (2) 1987, 195–208.

    Google Scholar 

  3. 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.

    Google Scholar 

  4. 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.

    Google Scholar 

  5. D. Eppstein, Z. Galil, R. Giancarlo, G. Italiano, Sparse Dynamic Programming, Proceedings of the First ACM-SIAM Symposium on Discrete Algorithms, 1990, 513–522.

    Google Scholar 

  6. S. Fortune and J. Wyllie, Parallelism in Random Access Machines, Proceedings of the Tenth Annual ACM Symposium on Theory of Computing, 1978, 114–118.

    Google Scholar 

  7. W. Rytter, Notes on Efficient Parallel Computations for Some Dynamic Programming, Theoretical Computer Science 59, 1988, 297–307.

    Article  Google Scholar 

  8. Z. Galil, R. Giancarlo, Speeding up Dynamic Programming with Applications to Molecular Biology, Theoretical Computer Science 64, 1989, 107–118.

    Article  Google Scholar 

  9. D.S. Hirschberg and L.L. Larmore, The Least Weight Subsequence Problem, SIAM Journal on Computing 16, 1987, 628–638.

    Article  Google Scholar 

  10. M.M. Klawe, Speeding Up Dynamic Programming, Manuscript.

    Google Scholar 

  11. 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.

    Google Scholar 

  12. R. Wilber, The Concave Least Weight Subsequence Problem Revisited, Journal of Algorithms, 9(3) September 1988, 418–425.

    Article  Google Scholar 

  13. F.F. Yao, Efficient Dynamic Programming Using Quadrangle Inequalities, Proceedings of the 12th ACM Symposium on Theory of Computing, 1980, 429–435.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Tetsuo Asano Toshihide Ibaraki Hiroshi Imai Takao Nishizeki

Rights and permissions

Reprints 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

Publish with us

Policies and ethics