A general method for improving insertion-based adaptive sorting

0Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

A presortedness measure describes to which extent a sequence of key values to be sorted is already partially sorted.We introduce a new natural measure of presortedness, which is a composition of two existing ones: Block that gives the number of already sorted disjoint subsequences of the input, and Loc defined as Πni=2di where di denotes the distance between the (i - 1)th and the ith element of the input in the ordered sequence up to the ith element. We also give a general method for improving insertion-based adaptive sorting, applying it to Splaysort to produce an algorithm that is optimal with respect to the new composite measure. Our experiments are performed for splay-tree sorting which has been reported to be among the most efficient adaptive sorting algorithms. Our experimental results show that, in addition to the theoretical superiority, our method improves standard Splaysort by a large factor when the input contains blocks of reasonable size. © Springer-Verlag 2012.

Cite

CITATION STYLE

APA

Saikkonen, R., & Soisalon-Soininen, E. (2012). A general method for improving insertion-based adaptive sorting. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7676 LNCS, pp. 217–226). Springer Verlag. https://doi.org/10.1007/978-3-642-35261-4_25

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free