Abstract
Given a rooted tree T on n vertices with each vertex v having a label cost(v), preprocess T so that, given a pair of vertices v, w, the minimum-cost vertex on the path between v and w (the path-min of v and w) can be found efficiently. We give a preprocessing algorithm running in O(log n) time using O(n) processors in the CREW PRAM. After preprocessing, a path-min query can be answered in O(log n) time using a single processor.
Research supported in part by NSF Grant CCR-8907960.
Preview
Unable to display preview. Download preview PDF.
References
K. Abrahamson, N. Dadoun, D.G. Kirkpatrick and T. Przytycka, A simple parallel tree contraction algorithm, J. Algorithms, 10, 287–302 (1989).
R.J. Anderson and G.L. Miller, Deterministic parallel list ranking, Proc. 3rd AWOC. (Lecture Notes in Computer Sciences, vol. 319) 81–90 (1988).
R.P. Brent, The parallel evaluation of general arithmetic expressions, J. ACM, 21, 201–206 (1974).
O. Berkman, D. Breslauer, Z. Galil, B. Schieber and U. Vishkin, Highly parallelizable problems, Proc. ACM Symp. on Theory of Computing, 309–319 (1989)
B. Chazelle, Computing on a free tree via complexity-preserving mappings, Algorithmica, 2, 337–361 (1987).
R. Cole and U. Vishkin, Approximate parallel scheduling. Part I: The basic technique with applications to optimal parallel list ranking in logarithmic time, SIAM J. Comput., 17, 128–142 (1988).
D. Knuth, The art of programming: Fundamental algorithms, Addison-Wesley, Reading, Mass. (1968).
A.A. Schäffer, Optimal node ranking of trees in linear time, Inform. Process. Lett., 33, 91–96 (1989).
B. Schieber and U Vishkin, On finding lowest common ancestors: simplification and parallelization, SIAM J. Comput., 17, 1253–1262 (1988).
R. Tarjan and U. Vishkin, An efficient parallel biconnectivity algorithm, SIAM J. Comput., 14, 862–874 (1985).
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kim, S.K. (1991). A parallel algorithm for path-min queries in trees. In: Akl, S.G., Fiala, F., Koczkodaj, W.W. (eds) Advances in Computing and Information — ICCI '90. ICCI 1990. Lecture Notes in Computer Science, vol 468. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-53504-7_100
Download citation
DOI: https://doi.org/10.1007/3-540-53504-7_100
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53504-1
Online ISBN: 978-3-540-46677-2
eBook Packages: Springer Book Archive