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 条
  • [41] Data-Adapted Parallel Merge Sort
    Holke, Johannes
    Ruettgers, Alexander
    Klitz, Margrit
    Basermann, Achim
    [J]. EURO-PAR 2019: PARALLEL PROCESSING WORKSHOPS, 2020, 11997 : 388 - 399
  • [42] Parallel double sort-merge algorithm for object-oriented collection join queries
    Taniar, D
    Rahayu, W
    [J]. HIGH PERFORMANCE COMPUTING ON THE INFORMATION SUPERHIGHWAY - HPC ASIA '97, PROCEEDINGS, 1997, : 122 - 127
  • [43] A Fast and Simple Approach to Merge and Merge Sort using Wide Vector Instructions
    Watkins, Alex
    Green, Oded
    [J]. PROCEEDINGS OF IA3 2018: 2018 IEEE/ACM 8TH WORKSHOP ON IRREGULAR APPLICATIONS: ARCHITECTURES AND ALGORITHMS, 2018, : 37 - 44
  • [44] Analysis of Algorithms: An Example of a Sort Algorithm
    Bancerek, Grzegorz
    [J]. FORMALIZED MATHEMATICS, 2013, 21 (01): : 1 - 23
  • [45] Paw Search-A Searching Approach for Unsorted Data Combining with Binary Search and Merge Sort Algorithm
    Rashid, Md. Harun Or
    Imtiaz, Ahmed
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (02) : 227 - 236
  • [46] Sort-merge feature selection for video data
    Liu, Y
    Kender, JR
    [J]. PROCEEDINGS OF THE THIRD SIAM INTERNATIONAL CONFERENCE ON DATA MINING, 2003, : 321 - 325
  • [47] Patience is a Virtue: Revisiting Merge and Sort on Modern Processors
    Chandramouli, Badrish
    Goldstein, Jonathan
    [J]. SIGMOD'14: PROCEEDINGS OF THE 2014 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2014, : 731 - 742
  • [48] Fully Flexible Parallel Merge Sort for Multicore Architectures
    Marszalek, Zbigniew
    Wozniak, Marcin
    Polap, Dawid
    [J]. COMPLEXITY, 2018,
  • [49] A Detailed Experimental Analysis of Library Sort Algorithm
    Faujdar, Neetu
    Ghrera, Satya Prakash
    [J]. 2015 ANNUAL IEEE INDIA CONFERENCE (INDICON), 2015,
  • [50] Design and analysis on bidirectional selection sort algorithm
    Min, Wang
    [J]. ICETC 2010 - 2010 2nd International Conference on Education Technology and Computer, 2010, 4