THE INPUT OUTPUT COMPLEXITY OF SORTING AND RELATED PROBLEMS

被引:635
作者
AGGARWAL, A [1 ]
VITTER, JS [1 ]
机构
[1] BROWN UNIV,DEPT COMP SCI,PROVIDENCE,RI 02912
关键词
COMPUTER METATHEORY - COMPUTER PROGRAMMING - Algorithms;
D O I
10.1145/48529.48535
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We provide tight upper and lower bounds, up to a constant factor, for the number of inputs and outputs (I/Os) between internal memory and secondary storage required for five sorting-related problems: sorting, the fast Fourier transform (FFT), permutation networks, permuting, and matrix transposition. The bounds hold both in the worst case and in the average case, and in several situations the constant factors match. Secondary storage is modeled as a magnetic disk capable of transferring P blocks each containing B records in a single time unit; the records in each block must be input from or output to B contiguous locations on the disk. We give two optimal algorithms for the problems, which are variants of merge sorting and distribution sorting.
引用
收藏
页码:1116 / 1127
页数:12
相关论文
共 10 条
[1]  
[Anonymous], EARTHQUAKE SCI, V29, DOI [10.1007/s11589.016.0146.3, DOI 10.1007/S11589.016.0146.3]
[2]  
BEIGEL R, 1986, COMMUNICATION
[3]  
Blum M., 1973, Journal of Computer and System Sciences, V7, P448, DOI 10.1016/S0022-0000(73)80033-9
[4]  
Knuth D. E., 1973, ART COMPUTER PROGRAM
[5]   THE I/O PERFORMANCE OF MULTIWAY MERGESORT AND TAG SORT [J].
KWAN, SC ;
BAER, JL .
IEEE TRANSACTIONS ON COMPUTERS, 1985, 34 (04) :383-387
[6]  
LEIGHTON FT, 1985, IEEE T COMPUT, V34
[7]  
LINDSTROM EE, 1985, IEEE T COMPUT, V34, P218, DOI 10.1109/TC.1985.1676565
[8]   THE UNIVERSALITY OF THE SHUFFLE-EXCHANGE NETWORK [J].
WU, C ;
FENG, T .
IEEE TRANSACTIONS ON COMPUTERS, 1981, 30 (05) :324-332
[9]  
[No title captured]
[10]  
[No title captured]