An empirical study for inversions-sensitive sorting algorithms

  • Authors:
  • Amr Elmasry;Abdelrahman Hammad

  • Affiliations:
  • Dept of Computer Engineering and Systems, Alexandria University, Egypt;Dept of Computer Engineering and Systems, Alexandria University, Egypt

  • Venue:
  • WEA'05 Proceedings of the 4th international conference on Experimental and Efficient Algorithms
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study the performance of the most practical internal adaptive sorting algorithms. Experimental results show that adaptive AVL sort performs the least number of comparisons unless the number of inversions is fewer than 1%. In such case, Splaysort performs the fewest number of comparisons. On the other hand, the running time of Quicksort is superior unless the number of inversions is fewer than 1.5%. In such case, Splaysort consumes the smallest running time.