Skip to main content

Parallel general prefix computations with geometric, algebraic and other applications

  • Conference paper
  • First Online:

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

Abstract

We introduce here a generic problem component and algorithms for it on various parallel models, that captures the most common, difficult "kernel" of many types of problems, e.g. geometric dominance. This kernel involves general prefix computations (GPCs) that can, with insight, be done quickly in parallel and by iterative techniques. GPCs' lower bound complexity of Ω (n log n) time is established, and we give optimal solutions on the sequential model in0(n log n) time, on the CREW PRAM model in 0(log n) time with n processors, on the BSR (broadcasting with selective reduction) model in constant time using n processors, and on mesh-connected computers in 0(✓n) time with (✓n) processors. A solution in 0(log 2 n) time on the hypercube model is given which is the best possible given known sorting limitations. We show that general prefix techniques can be applied to a wide variety of geometric (point set and tree) problems, including triangulation of point sets, two-set dominance counting, ECDF searching, finding two- and three-dimensional maximal points, and the (classical) reconstruction of trees from their traversals. In sum, GPC techniques have many important consequences.

work partially supported by NSF IRI 8709726.

work partially supported by NSERC.

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. S.G. Akl, G.R. Guenther, Broadcasting with selective reduction, Technical Report No. 88-232, Department of Computing and Information Science, Queen's University, Kingston, Ontario, Canada, August 1988.

    Google Scholar 

  2. A. Anderson and S. Carlsson, Construction of a tree from its traversals in optimal time and space, Comp. Sci. Dept., Lund Univ., Sweden, October 1988.

    Google Scholar 

  3. M.J. Atallah, R. Cole and M.T. Goodrich, Cascading divide-and-conquer: a technique for designing parallel algorithms, IEEE Symp. Found. Comp. Sci., 151–160, 1987.

    Google Scholar 

  4. M.J. Atallah and S.E. Hambrusch, Solving tree problems on a mesh-connected processor array, Information and Control 69, 1–3, 168–187, 1986.

    Article  Google Scholar 

  5. I. Bar-On and U. Vishkin, Optimal parallel generation of a computation tree form, ACM Trans. Program. Lang. Syst., 7,2, 384–357, 1985.

    Article  Google Scholar 

  6. H.A. Burgdorff, S. Jajodia, F.N. Springsteel and Y. Zalcstein, Alternative methods for the reconstruction of trees from their traversals, BIT, 27,2, 133–140, 1987.

    Google Scholar 

  7. G.H. Chen, M.S. Yu and L.T. Liu, Two algorithms for constructing a binary tree from its traversals, Inform. Process. Lett., 28, 6, 1988.

    Google Scholar 

  8. R. Cole and U. Vishkin, Faster optimal parallel prefix sums and list ranking, Ultracomputer Note 117, Comp. Sci. TR 277, February 1987.

    Google Scholar 

  9. F. Dehne and I. Stojmenović, An O(✓n) algorithm for the ECDF searching problem for arbitrary dimensions on a mesh of processors, Inform. Process. Lett., 28, 2, 67–70, 1988.

    Article  Google Scholar 

  10. H.N. Gabow, J.L. Bentley and R.E. Tarjan, Scaling and related techniques for geometric problems, ACM Symp. Theory of Computing, 135–143, 1984.

    Google Scholar 

  11. T. Hikita, Listing and counting subtrees of equal size of a binary tree, Inform. Process. Lett., 17, 225–229, 1983.

    Article  Google Scholar 

  12. E. Merks, An optimal parallel algorithm for triangulating a set of points in the plane, Int. J. Parallel Programming, 15, 5, 399–411, 1986.

    Article  Google Scholar 

  13. H. Meijer and S.G. Akl, Optimal computation of prefix sums on a binary tree of processors, Int. J. Parallel Programming, 16, 2, 127–136, 1987.

    Article  Google Scholar 

  14. D. Nassimi and S. Sahni, Data broadcasting in SIMD computers, IEEE Trans. Comput., C-30, 2, 101–106, 1981.

    Google Scholar 

  15. J.H. Reif and S. Sandeep, Optimal randomized parallel algorithms for computational geometry, IEEE Int. Conf. Parallel Processing, 270–277, 1987.

    Google Scholar 

  16. I. Stojmenović, Computational geometry on a hypercube, IEEE Int. Conf. Parallel Processing, 100–103, 1988.

    Google Scholar 

  17. C.D. Thompson and H.T. Kung, Sorting on a mesh-connected parallel computer, Comm. ACM, 4, 20, 263–271, 1977.

    Article  Google Scholar 

  18. J.D. Ullman, Computational aspects of VLSI, Comp. Sci. Press, Potomac, MD, 1984.

    Google Scholar 

  19. D.E. Wilard, New data structures for orthogonal range queries, SIAM J. Computing, 14, 232–253, 1985.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

J. Csirik J. Demetrovics F. Gécseg

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Springsteel, F., Stojmenović, I. (1989). Parallel general prefix computations with geometric, algebraic and other applications. In: Csirik, J., Demetrovics, J., Gécseg, F. (eds) Fundamentals of Computation Theory. FCT 1989. Lecture Notes in Computer Science, vol 380. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-51498-8_41

Download citation

  • DOI: https://doi.org/10.1007/3-540-51498-8_41

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-51498-5

  • Online ISBN: 978-3-540-48180-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics