TY - JOUR
T1 - Triply-Logarithmic Parallel Upper and Lower Bounds for Minimum and Range Minima over Small Domains
AU - Berkman, Omer
AU - Matias, Yossi
AU - Ragde, Prabhakar
PY - 1998/8
Y1 - 1998/8
N2 - 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)] for input elements drawn from the integer domain [1 ⋯s], where s ≥ n. In this article we give simple and efficient algorithms for all of the preceding problems. These algorithms all take O(log log log s) time using an optimal number of processors and O(nsε) space (for constant ε < 1) on the COMMON CRCW PRAM. The best known upper bounds for the range minima and ANSV problems were previously O(log log n) (using algorithms for unbounded domains). For the prefix minima and for the minimum problems, the improvement is with regard to the model of computation. We also prove a lower bound of Ω(log log n) for domain size s = 2Ω(log n log log n). Since, for s at the lower end of this range, log log n = Ω(log log log s), this demonstrates that any algorithm running in o(log log logs) time must restrict the range of s on which it works.
AB - 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)] for input elements drawn from the integer domain [1 ⋯s], where s ≥ n. In this article we give simple and efficient algorithms for all of the preceding problems. These algorithms all take O(log log log s) time using an optimal number of processors and O(nsε) space (for constant ε < 1) on the COMMON CRCW PRAM. The best known upper bounds for the range minima and ANSV problems were previously O(log log n) (using algorithms for unbounded domains). For the prefix minima and for the minimum problems, the improvement is with regard to the model of computation. We also prove a lower bound of Ω(log log n) for domain size s = 2Ω(log n log log n). Since, for s at the lower end of this range, log log n = Ω(log log log s), this demonstrates that any algorithm running in o(log log logs) time must restrict the range of s on which it works.
UR - https://www.scopus.com/pages/publications/0346613598
U2 - 10.1006/jagm.1997.0905
DO - 10.1006/jagm.1997.0905
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:0346613598
SN - 0196-6774
VL - 28
SP - 197
EP - 215
JO - Journal of Algorithms
JF - Journal of Algorithms
IS - 2
ER -