DocumentCode :
962481
Title :
Measures of Presortedness and Optimal Sorting Algorithms
Author :
Mannila, Heikki
Author_Institution :
Department of Computer Science, University Of Helsinki, Helsinki, Finland.
Issue :
4
fYear :
1985
fDate :
4/1/1985 12:00:00 AM
Firstpage :
318
Lastpage :
325
Abstract :
The concept of presortedness and its use in sorting are studied. Natural ways to measure presortedness are given and some general properties necessary for a measure are proposed. A concept of a sorting algorithm optimal with respect to a measure of presortedness is defined, and examples of such algorithms are given. A new insertion sort algorithm is shown to be optimal with respect to three natural measures. The problem of finding an optimal algorithm for an arbitrary measure is studied, and partial results are proven.
Keywords :
Concrete; Particle measurements; Sorting; Time measurement; Local insertion sort; measures; optimality; presortedness; sorting;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/TC.1985.5009382
Filename :
5009382
Link To Document :
بازگشت