Stochastic analysis of the merge-sort algorithm

被引:0
|
作者
Cramer, M
机构
[1] University of Freiburg, Inst. für Math. Stochastik, 79104 Freiburg
关键词
contraction method; ideal metrics; Merge-Sort;
D O I
10.1002/(SICI)1098-2418(199708)11:1<81::AID-RSA3>3.0.CO;2-Q
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The number L-k of comparisons performed by the Merge-Sort algorithm to sort 2(k) keys follows the recursion L-k(d) = Lk-1 + <(Lk-1)over bar> + Y-k, where Lk-1, <(Lk-1)over bar>, and Y-k are independent and <(Lk-1)over bar> is a copy of Lk-1. The contraction method for ideal metrics of Rachev and Ruschendorf [7] is appropriate to handle recursions of the above type and to show asymptotic normality of the normalized L-k. Additional challenges have to be faced if the number of keys is not a power of 2. The difficulty lies in the fact that the cases of odd and even numbers differ slightly. Therefore, exact calculations of mean and variance have to be substituted by asymptotic results which are gained with the help of a run of a C-program. But even in that case asymptotic normality can be achieved by a refinement of the contraction principle. (C) 1997 John Wiley & Sons, Inc.
引用
收藏
页码:81 / 96
页数:16
相关论文
共 50 条
  • [11] Modification of Parallelization of Modified Merge Sort Algorithm
    Marszalek, Zbigniew
    Capizzi, Giacomo
    [J]. INFORMATION AND SOFTWARE TECHNOLOGIES, ICIST 2019, 2019, 1078 : 428 - 440
  • [12] Sort-merge-join algorithm revisited
    Sun, Wenjun
    Li, Jianzhong
    [J]. Ruan Jian Xue Bao/Journal of Software, 1999, 10 (03): : 264 - 269
  • [13] ON SORT-MERGE ALGORITHM FOR BAND JOINS
    LU, HJ
    TAN, KL
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1995, 7 (03) : 508 - 510
  • [14] DNA Merge-Sort: A Family of Nested Varshamov-Tenengolts Reassembly Codes for Out-of-Order Media
    Nassirpour, Sajjad
    Shomorony, Ilan
    Vahid, Alireza
    [J]. IEEE TRANSACTIONS ON COMMUNICATIONS, 2024, 72 (03) : 1303 - 1317
  • [15] JOIN DURING MERGE - AN IMPROVED SORT BASED ALGORITHM
    NEGRI, M
    PELAGATTI, G
    [J]. INFORMATION PROCESSING LETTERS, 1985, 21 (01) : 11 - 16
  • [17] Optimal parallel algorithm of merge sort based on OpenMP
    Shen Hailong
    [J]. MECHATRONICS ENGINEERING, COMPUTING AND INFORMATION TECHNOLOGY, 2014, 556-562 : 3400 - 3403
  • [18] A PARALLEL SORT MERGE JOIN ALGORITHM FOR MANAGING DATA SKEW
    WOLF, JL
    DIAS, DM
    YU, PS
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1993, 4 (01) : 70 - 86
  • [19] SORT MERGE UTILITIES
    SNYDERS, J
    [J]. INFOSYSTEMS, 1987, 34 (05): : 62 - 62
  • [20] Modified Merge Sort Algorithm for Large Scale Data Sets
    Wozniak, Marcin
    Marszalek, Zbigniew
    Gabryel, Marcin
    Nowicki, Robert K.
    [J]. ARTIFICIAL INTELLIGENCE AND SOFT COMPUTING, PT II, 2013, 7895 : 612 - +