首页> 外文会议>Computers and Their Applications >A Cost Optimal Parallel Quicksort On CREW PRAM
【24h】

A Cost Optimal Parallel Quicksort On CREW PRAM

机译:在CREW PRAM上成本最优的并行Quicksort

获取原文

摘要

In this paper we introduce a cost optimal parallel quicksort algorithm. It sorts an array of n elements in O(log~2 n) time using O(n/(log n)) processors on a CREW PRAM. That is, the total cost is O(n log n), the same as an average sequential quicksort algorithm. The key feature of the proposed algorithm is that it partitions the array concurrently. This removes the performance bottleneck proposed by other researchers. Without increasing the complexity, we use an Θ(log n) algorithm to find the mean of the unsorted array and use it as the pivot to ensure that the partitioning process divides the array into two relatively equal size halves. The proposed quicksort algorithm has an average complexity of O(log~2 n).
机译:在本文中,我们介绍了一种成本最优的并行快速排序算法。它使用CREW PRAM上的O(n /(log n))个处理器以O(log〜2 n)的时间对n个元素的数组进行排序。也就是说,总成本为O(n log n),与平均顺序快速排序算法相同。所提出算法的关键特征是它可以同时对数组进行分区。这消除了其他研究人员提出的性能瓶颈。在不增加复杂度的情况下,我们使用Θ(log n)算法查找未排序数组的均值,并将其用作枢轴,以确保分区过程将数组分为两个大小相对相等的两半。提出的快速排序算法的平均复杂度为O(log〜2 n)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号