WEAK-HEAP SORT

被引:28
作者
DUTTON, RD [1 ]
机构
[1] UNIV CENT FLORIDA,DEPT COMP SCI,ORLANDO,FL 32816
来源
BIT | 1993年 / 33卷 / 03期
关键词
ALGORITHMS; DATA STRUCTURES; HEAP; PRIORITY QUEUE;
D O I
10.1007/BF01990520
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A data structure called a weak-heap is defined by relaxing the requirements for a heap. The structure can be implemented on a 1-dimensional array with one extra bit per data item and can be initialized with n items using exactly n - 1 data element compares. Theoretical analysis and empirical results indicate that it is a competitive structure for sorting. The worst case number of data element comparisons is strictly less than (n - 1) log n + 0.086013n and the expected number is conjectured to be approximately (n - 0.5) log n - 0.413n.
引用
收藏
页码:372 / 381
页数:10
相关论文
共 12 条
[1]   AVERAGE-CASE RESULTS ON HEAPSORT [J].
CARLSSON, S .
BIT, 1987, 27 (01) :2-17
[2]  
CARLSSON S, 1988, 1ST P SCAND WORKSH A, P1
[3]  
DUTTON RD, 1992, CSTR9209 U CENTR FLO
[4]  
FLOYD RW, 1964, ALGORITHM, V245, P701
[5]  
HOARE CAR, 1961, ALGORITHM, V64, P321
[6]  
HOARE CAR, 1961, ALGORITHM, V63, P321
[7]  
HOARE CAR, 1961, ALGORITHM, V65, P321
[8]   BUILDING HEAPS FAST [J].
MCDIARMID, CJH ;
REED, BA .
JOURNAL OF ALGORITHMS, 1989, 10 (03) :352-365
[9]  
SACK JR, 1985, ACTA INFORM, V22, P171, DOI 10.1007/BF00264229
[10]   DATA STRUCTURE FOR MANIPULATING PRIORITY QUEUES [J].
VUILLEMIN, J .
COMMUNICATIONS OF THE ACM, 1978, 21 (04) :309-315