AN EFFICIENT ALGORITHM FOR MANAGING A PARALLEL HEAP∗
- 1 January 1994
- journal article
- research article
- Published by Taylor & Francis in Parallel Algorithms and Applications
- Vol. 4 (3-4), 281-299
- https://doi.org/10.1080/10637199408915469
Abstract
We design a cost-optimal algorithm for managing a parallel heap on an exclusive-read exclusive-write (EREW), parallel random access machine (PRAM) model. We also analyze the time and space complexities of our algorithm, which efficiently employs p processors in the range 1 ≤ p ≤ n, where n is the maximum number of items in the parallel heap. It is assumed that a delete-think-insert cycle is repeatedly performed, and each processor requires an arbitrary but the same amount of time (called the think time) for processing an item which in turn generates at most two new items. The use of a global data structure for each level of the heap helps reduce the working memory space required. The time complexity for deleting p items of the highest priority from the parallel heap is O(logp), while that for inserting at most 2p new items is O(logn). With or without incorporating the think time, the speedup of our algorithm is shown to be linear, i.e. O(p). Hence this algorithm is an improvement in time over the one proposed by Deo and Prasad [5, 6].Keywords
This publication has 12 references indexed in Scilit:
- Parallel heap: An optimal parallel priority queueThe Journal of Supercomputing, 1992
- Parallel priority queuesInformation Processing Letters, 1991
- Parallel Algorithms for Shared-Memory MachinesPublished by Elsevier ,1990
- Adaptive Bitonic Sorting: An Optimal Parallel Algorithm for Shared-Memory MachinesSIAM Journal on Computing, 1989
- Concurrent operations on priority queuesCommunications of the ACM, 1989
- Concurrent access of priority queuesIEEE Transactions on Computers, 1988
- Parallel Merge SortSIAM Journal on Computing, 1988
- Coping with Anomalies in Parallel Branch-and-Bound AlgorithmsIEEE Transactions on Computers, 1986
- Anomalies in parallel branch-and-bound algorithmsCommunications of the ACM, 1984
- Parallel Prefix ComputationJournal of the ACM, 1980