首页   按字顺浏览 期刊浏览 卷期浏览 Randomized adaptive sorting
Randomized adaptive sorting

 

作者: Vladimir Estivill‐Castro,   Derick Wood,  

 

期刊: Random Structures&Algorithms  (WILEY Available online 1993)
卷期: Volume 4, issue 1  

页码: 37-57

 

ISSN:1042-9832

 

年代: 1993

 

DOI:10.1002/rsa.3240040103

 

出版商: Wiley Subscription Services, Inc., A Wiley Company

 

数据来源: WILEY

 

摘要:

AbstractOur goal is to design practical sorting algorithms that require time proportional not only to the size of the input but also to the disorder in the input. Such sorting algorithms are said to beadaptive. We introduce randomization to achieve this goal; the first time randomization has used to obtain adaptive sorting algorithms. We investigate three randomized algorithms.1Randomized Merge Sort, which is expected Runs‐optimal;2Randomized Quicksort, which is Exchange‐sensitive, that is, it takes Θ(|X|[1+log(Exc(X)+1)]) time in the expected case; and3Skip Sort, whichh isInversions‐, Runs‐, andExchhange‐optimal.The three sorting algorithms are simple and practical, in contrast to previous adaptive sorting algorithms that used complex data structures. Moreover, previous claims about the performance of adaptive variants ofQuicksortwere baed only on simulation results,; our claims are based on a formal analysis. © 1993 John Wile

 

点击下载:  PDF (1019KB)



返 回