首页 | 本学科首页   官方微博 | 高级检索  
     

基于散列和归并技术的有效并行排序方法
引用本文:钟诚.基于散列和归并技术的有效并行排序方法[J].计算机工程与科学,1998,20(4):42-45.
作者姓名:钟诚
作者单位:广西大学计算机与信息工程学院计算机科学系
基金项目:广西自然科学基金,广西教委科研基金
摘    要:本文提出一个在共享存储多处理机系统上实现的快速、有效的并行排序算法:将长度为n的待排序数据划分成p个长度为n/p的子序列,引入散列技术并行地对这p个子序列的数据进行二次散列排序,这一阶段所需的平均时间为O(n/p);最后并行地将p个有序子序列归并成一个长度为n的有序序列,归并阶段所需的时间为O(n-n/
/p)。整个排序算法的并行执行代价为O(np)。本排序方法可以拓以网络并行机群环境。

关 键 词:排序  散列  归并  并行算法  计算机

Efficient Parallel Sorting Based on Hashing and Merging Technology
Zhong Cheng.Efficient Parallel Sorting Based on Hashing and Merging Technology[J].Computer Engineering & Science,1998,20(4):42-45.
Authors:Zhong Cheng
Abstract: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.
Keywords:sorting  hashing  merging  parallel algorithm  
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号