On the parallel random access machine (PRAM) models, we present an optimal implementation of a meldable priority queue based on the binomial heap data structure. Doubly logarithmic time, cost-optimal algorithms are proposed on the EREW PRAM model for such queue-operations as Insert, Min, Extract-Min, and Union (often called melding). Our Union algorithm exploits its natural similarity with the problem of adding two binary integers. Two other operations, Change-Key and Delete, are also solved optimally on the CREW PRAM model and their amortized complexity is analyzed. The algorithm for Delete operation uses tricks for postponing the global effect of a node deletion. Additionally, we present an implementation of a distributed meldable priority queue on, the single-port hypercube model. Adopting a b-bandwidth binomial heap as the underlying data structure and a mapping which minimizes the amount of data movement among the processors when two binomial trees are melded, the hypercube algorithm, attains a nearly optimal amortized speed-up for the Insert, Extract-Min and Union operations.
[1]
Xiaobo Sharon Hu,et al.
Fast and Efficient Operations on Parallel Priority Queues
,
1994,
ISAAC.
[2]
Ronald L. Rivest,et al.
Introduction to Algorithms
,
1990
.
[3]
F. Leighton,et al.
Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes
,
1991
.
[4]
Joseph JáJá,et al.
An Introduction to Parallel Algorithms
,
1992
.
[5]
Sajal K. Das,et al.
Optimal and Load Balanced Mapping of Parallel Priority Queues in Hypercubes
,
1996,
IEEE Trans. Parallel Distributed Syst..
[6]
Geppino Pucci,et al.
Parallel Priority Queues
,
1991,
Inf. Process. Lett..
[7]
Geppino Pucci,et al.
Parallel Algorithms for Priority Queue Operations
,
1995,
Theor. Comput. Sci..
[8]
Stephan Olariu,et al.
Optimal Parallel Initialization Algorithms for a Class of Priority Queues
,
1991,
IEEE Trans. Parallel Distributed Syst..