Title :
Very fast optimal parallel algorithms for heap construction
Author :
Dietz, Paul F. ; Raman, Rajeev
Author_Institution :
Dept. of Comput. Sci., Rochester Univ., NY, USA
Abstract :
We give two algorithms for permuting n items in an array into heap order on a CRCW PRAM. The first is deterministic and runs in O(log log n) time and performs O(n) operations and is time- and work-optimal. The second is randomized and runs in O(log log log n) time with high probability, performing O(n) operations. No PRAM algorithm with o(log n) run-time was previously known for this problem. We also study the parallel complexity of selecting the kth smallest of n elements on the CRCW PRAM, a problem of independent interest. We show that this problem can be solved deterministically in O(log log n+log k/log log n) time and O(n) operations for all 1⩽k⩽n/2, improving on existing algorithms when k is small compared to n. This run-time is also shown to be optimal
Keywords :
computational complexity; parallel algorithms; tree data structures; array; heap construction; optimal; optimal parallel algorithms; parallel algorithms; parallel complexity; Algorithm design and analysis; Binary trees; Computer science; Kirchhoff´s Law; Parallel algorithms; Performance evaluation; Phase change random access memory; Read-write memory; Runtime; Time measurement;
Conference_Titel :
Parallel and Distributed Processing, 1994. Proceedings. Sixth IEEE Symposium on
Conference_Location :
Dallas, TX
Print_ISBN :
0-8186-6427-4
DOI :
10.1109/SPDP.1994.346128