首页> 外文会议>Workshop on Algorithm Engineering and Experiments >Simple and Fast BlockQuicksort using Lomuto's Partitioning Scheme
【24h】

Simple and Fast BlockQuicksort using Lomuto's Partitioning Scheme

机译:使用Lomuto的分区方案简单快速的BlockSquicksort

获取原文

摘要

This paper presents simple variants of the BlockQuicksort algorithm described by Edelkamp and Weiss (ESA 2016). The simplification is achieved by using Lomuto's partitioning scheme instead of Hoare's crossing pointer technique to partition the input. To achieve a robust sorting algorithm that works well on many different input types, the paper introduces a novel two-pivot variant of Lomuto's partitioning scheme. A surprisingly simple twist to the generic two-pivot quicksort approach makes the algorithm robust. The paper provides an analysis of the theoretical properties of the proposed algorithms and compares them to their competitors. The analysis shows that Lomuto-based approaches incur a higher average sorting cost than the Hoare-based approach of BlockQuicksort. Moreover, the analysis is particularly useful to reason about pivot choices that suit the two-pivot approach. An extensive experimental study shows that, despite their worse theoretical behavior, the simpler variants perform as well as the original version of BlockQuicksort.
机译:本文介绍了Edelkamp和Weiss描述的BlockQuicksort算法的简单变体(ESA 2016)。通过使用Lomuto的分区方案来实现简化,而不是Hoare的交叉指针技术来分配输入。为了实现一种适用于许多不同输入类型的稳健分类算法,介绍了Lomuto分区方案的新型双枢轴变体。令人惊讶的简单扭曲到通用的双旋转Quicksort方法使算法稳健。本文提供了对所提出的算法的理论特性的分析,并将其与竞争对手进行比较。该分析表明,基于Lomuto的方法产生比BlockSquickSort的覆盖性的方法更高的平均分量成本。此外,分析特别有用于适合两种枢轴方法的枢轴选择。一项广泛的实验研究表明,尽管它们更糟糕的理论行为,但更简单的变体表现以及BlockQuicksort的原始版本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号