摘要
利用上浮路径、下沉路径的概念,采用二分查找定位技术,提出了堆上并行插入删除的新算法;最坏情况下使得原有并行插入算法的logN次加锁操作降低到loglogN+θ(1)次;原有并行删除算法的2logN次加锁操作降低到logN+loglogN+θ(1)次,其中N为堆中元素的个数.最大限度地扩展了堆上操作的并行度.
A new parallel insertion and deletion algorithm for heap is presented in this paper byusing ascending path, descending path, and binary search method. At the worst case, the logN lock operations of old parallel insertion algorithm is reduced to loglogN+θ(1), the 2logN lock operations of old parallel deletion algorithm is reduced to logN+loglogN+θ(1), there N is the number of element of heap. The parallelism of operation in heap is expanded into a maximum.
出处
《烟台大学学报(自然科学与工程版)》
CAS
1998年第1期39-40,61,共3页
Journal of Yantai University(Natural Science and Engineering Edition)
基金
中科院自动化所复杂系统工程学开放实验室资助
关键词
上浮路径
下沉路径
并行插入
并行算法
优先队列
ascending path, descending path, heap, parallel insertion, parallel deletion, priority queue