中文
相关论文

相关论文: A numerical analysis of Quicksort: How many cases …

200 篇论文

The linear pivot selection algorithm, known as median-of-medians, makes the worst case complexity of quicksort be $\mathrm{O}(n\ln n)$. Nevertheless, it has often been said that this algorithm is too expensive to use in quicksort. In this…

数据结构与算法 · 计算机科学 2016-08-18 Noriyuki Kurosawa

We consider the fundamental problem of internally sorting a sequence of $n$ elements. In its best theoretical setting QuickMergesort, a combination Quicksort with Mergesort with a Median-of-$\sqrt{n}$ pivot selection, requires at most $n…

数据结构与算法 · 计算机科学 2018-04-27 Stefan Edelkamp , Armin Weiß

Most previous studies of the sorting algorithm QuickSort have used the number of key comparisons as a measure of the cost of executing the algorithm. Here we suppose that the n independent and identically distributed (i.i.d.) keys are each…

概率论 · 数学 2013-03-14 James Allen Fill

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

The two most prominent solutions for the sorting problem are Quicksort and Mergesort. While Quicksort is very fast on average, Mergesort additionally gives worst-case guarantees, but needs extra space for a linear number of elements.…

数据结构与算法 · 计算机科学 2018-11-05 Stefan Edelkamp , Armin Weiß

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

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

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

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

QuickXsort is a highly efficient in-place sequential sorting scheme that mixes Hoare's Quicksort algorithm with X, where X can be chosen from a wider range of other known sorting algorithms, like Heapsort, Insertionsort and Mergesort. Its…

数据结构与算法 · 计算机科学 2018-11-06 Stefan Edelkamp , Armin Weiß , Sebastian Wild

In this paper we generalize the idea of QuickHeapsort leading to the notion of QuickXsort. Given some external sorting algorithm X, QuickXsort yields an internal sorting algorithm if X satisfies certain natural conditions. With…

数据结构与算法 · 计算机科学 2013-07-12 Stefan Edelkamp , Armin Weiß

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

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…

We provide a smoothed analysis of Hoare's find algorithm and we revisit the smoothed analysis of quicksort. Hoare's find algorithm - often called quickselect - is an easy-to-implement algorithm for finding the k-th smallest element of a…

数据结构与算法 · 计算机科学 2009-04-27 Mahmoud Fouz , Manfred Kufleitner , Bodo Manthey , Nima Zeini Jahromi

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

QuickXsort is a strategy to combine Quicksort with another sorting method X, so that the result has essentially the same comparison cost as X in isolation, but sorts in place even when X requires a linear-size buffer. We solve the…

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

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

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

The paper questions the robustness of average case time complexity of the fast and popular quicksort algorithm. Among the six standard probability distributions examined in the paper, only continuous uniform, exponential and standard normal…

数据结构与算法 · 计算机科学 2016-11-27 Suman Kumar Sourabh , Soubhik Chakraborty

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
‹ 上一页 1 2 3 10 下一页 ›