Artigo Acesso aberto Revisado por pares

DUAL PIVOT QUICKSORT

2012; World Scientific; Volume: 04; Issue: 03 Linguagem: Inglês

10.1142/s1793830912500413

ISSN

1793-8317

Autores

Vasileios Iliopoulos, David Penman,

Tópico(s)

Evolutionary Algorithms and Applications

Resumo

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 exchanges performed by the algorithm, obtaining the exact and asymptotic total average values contributing to its time complexity. Further, we compute the average number of partitioning stages and the variance of the number of key comparisons. In terms of mean values, dual pivot Quicksort does not appear to be faster than ordinary algorithm.

Referência(s)