期刊文献+

基于散列和归并技术的有效并行排序方法 被引量:2

Efficient Parallel Sorting Based on Hashing and Merging Technology
下载PDF
导出
摘要 本文提出一个在共享存储多处理机系统上实现的快速、有效的并行排序算法:将长度为n的待排序数据划分成p个长度为n/p的子序列,引入散列技术并行地对这p个子序列的数据进行二次散列排序,这一阶段所需的平均时间为O(n/p);最后并行地将p个有序子序列归并成一个长度为n的有序序列,归并阶段所需的时间为O(n-n/p)。整个排序算法的并行执行代价为O(np)。本排序方法可以拓广到网络并行机群环境。 An efficient parallel sorting algorithm,which is implemented on a shared memory multiprocessor system,is presented.The sequence that has n elements to be sorted are partitioned to p subsequences(length n/p ).First the p subsequences are sorted in parallel by 2 hashing,its average time is O( n/p ).Then the p sorted subsequences are merged in parallel to a sorted sequence(length n ),its time is O( n-n/p ).The total parallel execution cost is O( np ).This scheme can be extended to the network environment of parallel computers.
作者 钟诚
出处 《计算机工程与科学》 CSCD 1998年第4期42-45,共4页 Computer Engineering & Science
基金 广西自然科学基金 广西教委科研基金
关键词 排序 散列 归并 并行算法 计算机 sorting,hashing,merging,parallel algorithm.
  • 相关文献

参考文献5

二级参考文献7

  • 1杨大顺,陶明华,丁青.二次分档插入排序法[J].计算机学报,1993,16(2):151-154. 被引量:12
  • 2杨大顺,陶明华,丁青,顾芸瑛.一种新的链接排序法[J].计算机研究与发展,1993,30(8):1-5. 被引量:1
  • 3程惟宁,数据结构基础,1983年
  • 4郭继展,计算机应用研究,1988年,5卷,4期,33页
  • 5杨大顺,微计算机应用,1988年,9卷,3期,15页
  • 6杨大顺,微计算机应用,1988年,9卷,3期,15页
  • 7管纪文,计算机程序设计技巧,1984年

共引文献18

同被引文献17

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部