×

Triply-logarithmic upper and lower bounds for minimum, range minima, and related problems with integer inputs. (English) Zbl 1504.68280

Dehne, Frank (ed.) et al., Algorithms and data structures. 3rd workshop, WADS ’93. Montréal, Canada 11–13, 1993. Proceedings. Berlin: Springer-Verlag. Lect. Notes Comput. Sci. 709, 175-187 (1993).
Summary: We consider the problem of computing the minimum of \(n\) values, and several well-known generalizations (prefix minima, range minima, and all-nearest-smaller-values (ANSV) problems) for input elements drawn from the integer domain \([1.. s]\) where \(s \geq n\). Recent work [O. Berkman et al., SIAM J. Comput. 23, No. 3, 449–465 (1994; Zbl 0938.68659)] has shown that parallel algorithms that are sensitive to the size of the input domain can improve on more general parallel algorithms. The cited paper demonstrates an \(O(\log \log \log s)\)-step algorithm on an \(n\)-processor Priority CRCW PRAM for finding the prefix-minima of \(n\) numbers in the range \([1..s]\). The best known upper bounds for the range minima and ANSV problems were previously \(O(\log \log n)\) (using algorithms for general input). This was also the best known upper bound for computing prefix minima or even just the minimum on the Common CRCW PRAM; this model has a \(\Theta (\log n/ \log \log n)\) time separation from the stronger Priority model when using the same number of processors. In this paper we give simple and efficient algorithms for all of the above problems. These algorithms all take \(O(\log \log \log s)\) time using an optimal number of processors and \(O(ns)^\epsilon\) space on the Common CRCW PRAM. We also prove a lower bound demonstrating that no algorithm is asymptotically faster as a function of \(s\), by showing that for \(s = 2^{2^{\Omega (\log n \log \log n)} }\) the upper bounds are tight.
For the entire collection see [Zbl 0825.00122].

MSC:

68W10 Parallel algorithms in computer science
68Q10 Modes of computation (nondeterministic, parallel, interactive, probabilistic, etc.)
68W40 Analysis of algorithms

Citations:

Zbl 0938.68659
Full Text: DOI

References:

[1] A. Amir, G. M. Landau, and U. Vishkin. Efficient pattern matching with scaling. In Proc. of the First Annual ACM-SIAM Symposium on Discrete Algorithms, pages 344-357, 1990. · Zbl 0800.68490
[2] P. Beame and J. Håstad. Optimal bounds for decision problems on the CRCW PRAM. In Proc. of the 19th Ann. ACM Symp. on Theory of Computing, pages 83-93, 1987.
[3] C. Berge. Graphs and Hypergraphs. North-Holland, 1973. · Zbl 0254.05101
[4] O. Berkman, J. JáJá, S. Krishnamurthy, R. Thurimella, and U. Vishkin. Some triply-logarithmic parallel algorithms. In Proc. of the 31st IEEE Annual Symp. on Foundation of Computer Science, pages 871-881, 1990. To appear in SIAM J. of Comput. as ‘Top-bottom routing around a rectangle is as easy as computing prefix minima’.
[5] O. Berkman, B. Schieber, and U. Vishkin. Optimal doubly logarithmic parallel algorithms based on finding all nearest smaller values. Journal of Algorithms, 14:344-370, 1993. · Zbl 0782.68031 · doi:10.1006/jagm.1993.1018
[6] O. Berkman and U. Vishkin. On parallel integer merging. Technical Report UMIACS-TR-90-15.1 (revised version), Institute for Advanced Computer Studies, University of Maryland, College Park, Maryland 20742, USA, 1990. To appear in Information and Computation.
[7] R. B. Boppana. Optimal separations between concurrent-write parallel machines. In Proc. of the 21st Ann. ACM Symp. on Theory of Computing, pages 320-326, 1989.
[8] S. Chaudhuri. Lower Bounds for Parallel Computation. PhD thesis, Rutgers University, 1991.
[9] J. Edmonds. Lower bounds with smaller domain size on concurrent write parallel machines. In Proc. 6th Annual IEEE Conference on Structure in Complexity Theory, 1991.
[10] P. Erdős and R. Rado. Intersection theorems for systems of sets. J. London Math. Soc., 35:85-90, 1960. · Zbl 0103.27901
[11] F. E. Fich, F. Meyer auf der Heide, and A. Wigderson. Lower bounds for parallel random-access machines with unbounded shared memory. In Advances in Computing Research. JAI Press, 1986.
[12] F. E. Fich, P. L. Ragde, and A. Wigderson. Relations between concurrent-write models of parallel computation (preliminary version). In Proceedings 3rd Annual ACM Symposium on Principles of Distributed Computing, pages 179-189, 1984.
[13] F. E. Fich, P. L. Ragde, and A. Wigderson. Simulations among concurrent-write PRAMs. Algorithmica, 3:43-51, 1988. · Zbl 0646.68068 · doi:10.1007/BF01762109
[14] H. N. Gabow, J. L. Bentley, and R. E. Tarjan. Scaling and related techniques for geometry problems. In Proc. of the 16th Ann. ACM Symp. on Theory of Computing, pages 135-143, 1984.
[15] M. T. Goodrich. Triangulating a polygon in parallel. Journal of Algorithms, 10:327-351, 1989. · Zbl 0682.68047 · doi:10.1016/0196-6774(89)90032-1
[16] V. Grolmusz and P. L. Ragde. Incomparability in parallel computation. In Proc. of the 28th IEEE Annual Symp. on Foundation of Computer Science, pages 89-98, 1987.
[17] D. Harel and R. E. Tarjan. Fast algorithms for finding nearest common ancestors. SIAM J. Comput., 13(2):338-355, 1984. · Zbl 0535.68022 · doi:10.1137/0213024
[18] C. P. Kruskal. Searching, merging, and sorting in parallel computation. IEEE Trans. on Comp, C-32:942-946, 1983. · Zbl 0525.68039
[19] F. Meyer auf der Heide and A. Wigderson. The complexity of parallel sorting. In Proc. of the 26th IEEE Annual Symp. on Foundation of Computer Science, pages 532-540, 1985.
[20] P. L. Ragde, W. L. Steiger, E. Szemerédi, and A. Wigderson. The parallel complexity of element distinctness is Ω(√log \(n)\). SIAM Journal on Disceret Mathematics, 1(3):399-410, Aug. 1988. · Zbl 0655.68042 · doi:10.1137/0401040
[21] V. Ramachandran and U. Vishkin. Efficient parallel triconnectivity in logarithmic parallel time. In Proc. of the 3rd Aegean Workshop on Parallel Computing, Springer LNCS 319, pages 33-42, 1988. · Zbl 0649.68070
[22] B. Schieber. Design and analysis of some parallel algorithms. PhD thesis, Dept. of Computer Science, Tel Aviv Univ., 1987.
[23] B. Schieber and U. Vishkin. On finding lowest common ancestors: simplification and parallelization. SIAM J. Comput., 17(6):1253-1262, 1988. · Zbl 0669.68049 · doi:10.1137/0217079
[24] Y. Shiloach and U. Vishkin. Finding the maximum, merging, and sorting in a parallel computation model. Journal of Algorithms, 2:88-102, 1981. · Zbl 0456.68062 · doi:10.1016/0196-6774(81)90010-9
[25] M. Snir. On parallel searching. SIAM J. Comput., 14:688-707, 1985. · Zbl 0607.68047 · doi:10.1137/0214051
[26] L. G. Valiant. Parallelism in comparison problems. SIAM J. Comput., 4:348-355, 1975. · Zbl 0311.68033 · doi:10.1137/0204030
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.