首页> 外文期刊>Theoretical computer science >Efficient sample sort and the average case analysis of PEsort
【24h】

Efficient sample sort and the average case analysis of PEsort

机译:PEsort的高效样本分类和平均案例分析

获取原文
获取原文并翻译 | 示例
       

摘要

The purpose of the paper is twofold. First, we want to search for a more efficient sample sort. Secondly, by analyzing a variant of Samplesort, we want to settle an open problem: the average case analysis of Proportion Extend Sort (PEsort for short). An efficient variant of Samplesort given in the paper is called full sample sort. This algorithm is simple. It has a shorter object code and is almost as fast as PEsort. Theoretically, we show that full sample sort with a linear sampling size performs at most n logn + O(n) comparisons and O(n logn) exchanges on the average, but O(n (logn){sup}2) comparisons in the worst case: This is an improvement on the original Samplesort by Frazer and McKellar, which requires n logn + O(n log logn) comparisons on the average and O(n{sup}2) comparisons in the worst case. On the other hand, we use the same analyzing approach to show that PEsort, with any p > 0, performs also at most n logn + O(n) comparisons on the average. Notice, Cole and Kandathil analyzed only the case p = 1 of PEsort. For any p > 0, they did not. Namely, their approach is suitable only for a special case such as p = 1, while our approach is suitable for the generalized case.
机译:本文的目的是双重的。首先,我们要搜索更有效的样本排序。其次,通过分析Samplesort的变体,我们想解决一个未解决的问题:比例扩展排序(简称PEsort)的平均案例分析。本文中给出的Samplesort的有效变体称为完整样本排序。这个算法很简单。它具有较短的目标代码,几乎与PEsort一样快。从理论上讲,我们显示具有线性采样大小的完整样本排序平均最多执行n次logn + O(n)比较和O(n logn)交换,但在O(n(logn){sup} 2)比较中最坏的情况:这是Frazer和McKellar对原始Samplesort的改进,它要求对平均值进行n logn + O(n log logn)比较,而在最坏情况下需要O(n {sup} 2)比较。另一方面,我们使用相同的分析方法表明,当p> 0时,PEsort平均也最多执行n logn + O(n)个比较。注意,Cole和Kandathil仅分析了PEsort的情况p = 1。对于任何p> 0,他们没有。也就是说,它们的方法仅适用于特殊情况,例如p = 1,而我们的方法则适用于广义情况。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号