Adaptive sorting: an information theoretic perspectiveActa Informatica, Vol. 45, No. 1. (19 February 2008), pp. 33-42.
|
Reviews
[Write a review of this article]
There are no reviews of this article
Find related articles from these CiteULike users
Find related articles with these CiteULike tags
AbstractAbstract We present two algorithms that are near optimal with respect to the number of inversions present in the input. One of the algorithms is a variation of insertion sort, and the other is a variation of merge sort. The number of comparisons performed by our algorithms, on an input sequence of length n that has I inversions, is at most $$n\, log_2 (\fracIn + 1) + O(n)$$ . Moreover, both algorithms have implementations that run in time $$O(n\, log_2 (\fracIn + 1)\,+\,n)$$ . All previously published algorithms require at least $$cn\, log_2 (\fracIn + 1)$$ comparisons for some c > 1.
BibTeX record
RIS record