On optimal and efficient in place merging

被引:0
|
作者
Kim, PS [1 ]
Kutzner, A
机构
[1] Kookmin Uiv, Dept Math, Seoul 136702, South Korea
[2] Seokyeong Univ, Dept E Business, Seoul 136704, South Korea
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We introduce a new stable in place merging algorithm that needs O(m, log(n/m + 1)) comparisons and O(m + n) assignments. According to the lower bounds for merging our algorithm is asymptotically optimal regarding the number of comparisons as well as assignments. The stable algorithm is developed in a modular style out of an unstable kernel for which we give a definition in pseudocode. The literature so far describes several similar algorithms but merely as sophisticated theoretical models without any reasoning about their practical value. We report specific benchmarks and show that our algorithm is for almost all input sequences faster than the efficient minimum storage algorithm by Dudzinski and Dydek. The proposed algorithm can be effectively used in practice.
引用
收藏
页码:350 / 359
页数:10
相关论文
共 50 条
  • [21] SOME SIMPLE IN-PLACE MERGING ALGORITHMS
    WONG, JK
    BIT, 1981, 21 (02): : 157 - 166
  • [22] MERGING VOICES, 'MRS DALLOWAY' AND 'NO PLACE ON EARTH'
    REED, DK
    COMPARATIVE LITERATURE, 1995, 47 (02) : 118 - 135
  • [23] THE ANALYSIS OF A SIMPLE IN-PLACE MERGING ALGORITHM
    SPRUGNOLI, R
    JOURNAL OF ALGORITHMS, 1989, 10 (03) : 366 - 380
  • [24] Provably efficient stream merging
    Coffman, EG
    Jelenkovic, P
    Momcilovic, P
    WEB CACHING AND CONTENT DELIVERY, 2001, : 171 - 184
  • [25] Efficient multiway merging algorithm
    Sci China Ser E Technol Sci, 5 (543-551):
  • [26] A Computationally-Efficient Data-Driven Safe Optimal Algorithm Through Control Merging
    Khaledi, Marjan
    Kiumarsi, Bahare
    IEEE OPEN JOURNAL OF CONTROL SYSTEMS, 2024, 3 : 118 - 127
  • [27] An efficient multiway merging algorithm
    Zhao, LJ
    Liu, ZY
    Gao, QS
    SCIENCE IN CHINA SERIES E-TECHNOLOGICAL SCIENCES, 1998, 41 (05): : 543 - 551
  • [28] An efficient multiway merging algorithm
    赵立军
    刘志勇
    高庆狮
    Science China Technological Sciences, 1998, (05) : 543 - 551
  • [29] An efficient multiway merging algorithm
    Lijun Zhao
    Zhiyong Liu
    Qingshi Gao
    Science in China Series E: Technological Sciences, 1998, 41 : 543 - 551
  • [30] Optimal State Merging without Decoupling
    Boileau, Jean-Christian
    Renes, Joseph M.
    THEORY OF QUANTUM COMPUTATION, COMMUNICATION, AND CRYPTOGRAPHY, 2009, 5905 : 76 - +