Article,

Design and Analysis of RA Sort

, , and .
International Journal on Foundations of Computer Science & Technology, 5 (1): 59 - 66 (January 2015)
DOI: DOI:10.5121/ijfcst.2015.5106 59

Abstract

This paper introduces a new comparison base stable sorting algorithm, named RA sort. The RA sort involves only the comparison of pair of elements in an array which ultimately sorts the array and does not involve the comparison of each element with every other element. It tries to build upon the relationship established between the elements in each pass. Instead of going for a blind comparison we prefer a selective comparison to get an efficient method. Sorting is a fundamental operation in computer science.This algorithm is analysed both theoretically and empirically to get a robust average case result. We have performed its Empirical analysis and compared its performance with the well-known quick sort for various input types. Although the theoretical worst case complexity of RA sort is Yworst(n) = O(n√݊), the experimental results suggest an empirical Oemp(nlgn)1.333 time complexity for typical input instances, where the parameter n characterizes the input size. The theoretical complexity is given for comparison operation. We emphasize that the theoretical complexity is operation specific whereas the empirical one represents the overall algorithmic complexity

Tags

Users

  • @devino

Comments and Reviews