Loading [MathJax]/extensions/MathMenu.js
Customary Behavior of Sorting Reals with Linear Time Complexity | IEEE Conference Publication | IEEE Xplore

Customary Behavior of Sorting Reals with Linear Time Complexity


Abstract:

Sorting with real number keys has time complexity n log n. This holds under the assumption that for all n samples a comparison sort is used. Here we propose to use the co...Show More

Abstract:

Sorting with real number keys has time complexity n log n. This holds under the assumption that for all n samples a comparison sort is used. Here we propose to use the counting sort with just n cells for initial placement of samples. We resolve cases of groups of several samples placed into one cell by a comparison sort. Surprisingly, even this part has time complexity proportional to n. Numerical experiments confirm this finding and shows influence of the computing environment such as paging, and reflects a higher speed than the quicksort.
Date of Conference: 14-16 January 2020
Date Added to IEEE Xplore: 14 September 2020
ISBN Information:
Conference Location: Madrid, Spain
No metrics found for this document.

I. Introduction

The purpose of this work is to present a modification of the counting sort [2] for reals as sorting keys. It may happen that several samples sorted fall into one cell (bucket). These samples form a group of unsorted samples. We propose to sort them by using a comparison sort, e.g. bubble sort or quicksort [4] , [6] . We show here that the number of samples falling into one bucket is very small not exceeding several tens in practice. At the same time, the number of buckets with such multiplicities is also limited. Based on upper estimations of multiplicities and their probabilities, we show the linear time complexity of the algorithm.

Usage
Select a Year
2024

View as

Total usage sinceSep 2020:64
00.511.522.53JanFebMarAprMayJunJulAugSepOctNovDec100002000000
Year Total:3
Data is updated monthly. Usage includes PDF downloads and HTML views.

Contact IEEE to Subscribe

References

References is not available for this document.