中文
相关论文

相关论文: Probabilistic Analysis of the Dual-Pivot Quicksort…

200 篇论文

In this note the precise minimum number of key comparisons any dual-pivot quickselect algorithm (without sampling) needs on average is determined. The result is in the form of exact as well as asymptotic formul\ae{} of this number of a…

组合数学 · 数学 2016-10-18 Daniel Krenn

In this paper, we analyse the dual pivot Quicksort, a variant of the standard Quicksort algorithm, in which two pivots are used for the partitioning of the array. We are solving recurrences of the expected number of key comparisons and…

数据结构与算法 · 计算机科学 2015-03-31 Vasileios Iliopoulos , David B. Penman

We present an average case analysis of a variant of dual-pivot quicksort. We show that the used algorithmic partitioning strategy is optimal, i.e., it minimizes the expected number of key comparisons. For the analysis, we calculate the…

This paper gives a straightforward self-contained proof of the formula for the variance of the number of comparisons used by the Quicksort sorting algorithm when pivots are chosen uniformly at random. The result has been known for some time…

概率论 · 数学 2010-06-22 Vasileios Iliopoulos , David Penman

We present an average case analysis of two variants of dual-pivot quicksort, one with a non-algorithmic comparison-optimal partitioning strategy, the other with a closely related algorithmic strategy. For both we calculate the expected…

The new dual-pivot Quicksort by Vladimir Yaroslavskiy - used in Oracle's Java runtime library since version 7 - features intriguing asymmetries. They make a basic variant of this algorithm use less comparisons than classic single-pivot…

数据结构与算法 · 计算机科学 2015-08-11 Sebastian Wild , Markus E. Nebel , Conrado Martínez

The new dual-pivot Quicksort by Vladimir Yaroslavskiy - used in Oracle's Java runtime library since version 7 - features intriguing asymmetries in its behavior. They were shown to cause a basic variant of this algorithm to use less…

数据结构与算法 · 计算机科学 2014-06-16 Markus E. Nebel , Sebastian Wild

I prove that the average number of comparisons for median-of-$k$ Quicksort (with fat-pivot a.k.a. three-way partitioning) is asymptotically only a constant $\alpha_k$ times worse than the lower bound for sorting random multisets with…

数据结构与算法 · 计算机科学 2019-05-07 Sebastian Wild

Dual-pivot quicksort refers to variants of classical quicksort where in the partitioning step two pivots are used to split the input into three segments. This can be done in different ways, giving rise to different algorithms. Recently, a…

数据结构与算法 · 计算机科学 2015-10-14 Martin Aumüller , Martin Dietzfelbinger

The complexity of the Quicksort algorithm is usually measured by the number of key comparisons used during its execution. When operating on a list of $n$ data, permuted uniformly at random, the appropriately normalized complexity $Y_n$ is…

概率论 · 数学 2013-01-25 Ralph Neininger

The analyses of many algorithms and data structures (such as digital search trees) for searching and sorting are based on the representation of the keys involved as bit strings and so count the number of bit comparisons. On the other hand,…

概率论 · 数学 2012-02-14 James Allen Fill , Svante Janson

Sorting algorithms have attracted a great deal of attention and study, as they have numerous applications to Mathematics, Computer Science and related fields. In this thesis, we first deal with the mathematical analysis of the Quicksort…

数据结构与算法 · 计算机科学 2015-10-05 Vasileios Iliopoulos

We consider a multi-pivot QuickSort algorithm using $K\in\mathbb{N}$ pivot elements to partition a nonsorted list into $K+1$ sublists in order to proceed recursively on these sublists. For the partitioning stage, various strategies are in…

Using non-linear difference equations, combined with symbolic computations, we make a detailed study of the running times of numerous variants of the celebrated Quicksort algorithms, where we consider the variants of single-pivot and…

数据结构与算法 · 计算机科学 2020-02-27 Yukun Yao

We provide a probabilistic analysis of the output of Quicksort when comparisons can err.

概率论 · 数学 2007-05-23 L. Alonso , P. Chassaing , F. Gillet , S. Janson , E. M. Reingold , R. Schott

In this paper we study the number of key exchanges required by Hoare's FIND algorithm (also called Quickselect) when operating on a uniformly distributed random permutation and selecting an independent uniformly distributed rank. After…

概率论 · 数学 2013-11-20 Benjamin Dadoun , Ralph Neininger

When algorithms for sorting and searching are applied to keys that are represented as bit strings, we can quantify the performance of the algorithms not only in terms of the number of key comparisons required by the algorithms but also in…

概率论 · 数学 2009-04-16 James Allen Fill , Take Nakama

Recently, a new Quicksort variant due to Yaroslavskiy was chosen as standard sorting method for Oracle's Java 7 runtime library. The decision for the change was based on empirical studies showing that on average, the new algorithm is faster…

数据结构与算法 · 计算机科学 2013-10-29 Sebastian Wild , Markus E. Nebel

The weak limit of the normalized number of comparisons needed by the Quicksort algorithm to sort n randomly permuted items is known to be determined implicitly by a distributional fixed-point equation. We give an algorithm for perfect…

概率论 · 数学 2007-05-23 Luc Devroye , James Allen Fill , Ralph Neininger

Multi-Pivot Quicksort refers to variants of classical quicksort where in the partitioning step $k$ pivots are used to split the input into $k + 1$ segments. For many years, multi-pivot quicksort was regarded as impractical, but in 2009 a…

数据结构与算法 · 计算机科学 2016-06-01 Martin Aumüller , Martin Dietzfelbinger , Pascal Klaue
‹ 上一页 1 2 3 10 下一页 ›