Mostra el registre d'ítem simple

dc.contributor.authorNebel, Markus E.
dc.contributor.authorWild, Sebastian
dc.contributor.authorMartínez Parra, Conrado
dc.contributor.otherUniversitat Politècnica de Catalunya. Departament de Ciències de la Computació
dc.date.accessioned2016-09-14T07:49:06Z
dc.date.available2016-09-14T07:49:06Z
dc.date.issued2016-08
dc.identifier.citationNebel, M., Wild, S., Martínez, C. Analysis of pivot sampling in dual-pivot Quicksort: A holistic analysis of Yaroslavskiy's partitioning scheme. "Algorithmica", Agost 2016, vol. 75, núm. 4, p. 632-683.
dc.identifier.issn0178-4617
dc.identifier.urihttp://hdl.handle.net/2117/89895
dc.descriptionThe final publication is available at Springer via http://dx.doi.org/10.1007/s00453-015-0041-7
dc.description.abstractThe 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 Quicksort. In this paper, we extend the analysis to the case where the two pivots are chosen as fixed order statistics of a random sample. Surprisingly, dual-pivot Quicksort then needs more comparisons than a corresponding version of classic Quicksort, so it is clear that counting comparisons is not sufficient to explain the running time advantages observed for Yaroslavskiy's algorithm in practice. Consequently, we take a more holistic approach and give also the precise leading term of the average number of swaps, the number of executed Java Bytecode instructions and the number of scanned elements, a new simple cost measure that approximates I/O costs in the memory hierarchy. We determine optimal order statistics for each of the cost measures. It turns out that the asymmetries in Yaroslavskiy's algorithm render pivots with a systematic skew more efficient than the symmetric choice. Moreover, we finally have a convincing explanation for the success of Yaroslavskiy's algorithm in practice: compared with corresponding versions of classic single-pivot Quicksort, dual-pivot Quicksort needs significantly less I/Os, both with and without pivot sampling.
dc.format.extent52 p.
dc.language.isoeng
dc.subjectÀrees temàtiques de la UPC::Informàtica::Informàtica teòrica
dc.subject.lcshAlgorithms
dc.subject.otherQuicksort
dc.subject.otherDual-pivot
dc.subject.otherYaroslavskiy's partitioning method
dc.subject.otherMedian of three
dc.subject.otherAverage-case analysis
dc.subject.otherI/O operations
dc.subject.otherExternal-memory model
dc.titleAnalysis of pivot sampling in dual-pivot Quicksort: A holistic analysis of Yaroslavskiy's partitioning scheme
dc.typeArticle
dc.subject.lemacAlgorismes
dc.contributor.groupUniversitat Politècnica de Catalunya. ALBCOM - Algorismia, Bioinformàtica, Complexitat i Mètodes Formals
dc.identifier.doi10.1007/s00453-015-0041-7
dc.description.peerreviewedPeer Reviewed
dc.relation.publisherversionhttp://link.springer.com/article/10.1007%2Fs00453-015-0041-7
dc.rights.accessOpen Access
local.identifier.drac18740148
dc.description.versionPostprint (author's final draft)
local.citation.authorNebel, M.; Wild, S.; Martínez, C.
local.citation.publicationNameAlgorithmica
local.citation.volume75
local.citation.number4
local.citation.startingPage632
local.citation.endingPage683


Fitxers d'aquest items

Thumbnail

Aquest ítem apareix a les col·leccions següents

Mostra el registre d'ítem simple