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 条
  • [1] Asymptotically efficient in-place merging
    Geffert, V
    Katajainen, J
    Pasanen, T
    THEORETICAL COMPUTER SCIENCE, 2000, 237 (1-2) : 159 - 181
  • [2] Optimal and efficient merging schedules for video-on-demand servers
    Eager, D
    Vernon, M
    Zahorjan, J
    ACM MULTIMEDIA 99, PROCEEDINGS, 1999, : 199 - 202
  • [3] Efficient algorithms for optimal stream merging for media-on-demand
    Bar-Noy, A
    Ladner, RE
    SIAM JOURNAL ON COMPUTING, 2004, 33 (05) : 1011 - 1034
  • [4] PRACTICAL IN-PLACE MERGING
    HUANG, BC
    LANGSTON, MA
    COMMUNICATIONS OF THE ACM, 1988, 31 (03) : 348 - 352
  • [5] Multiway in-place merging
    Geffert, Viliam
    Gajdos, Jozef
    THEORETICAL COMPUTER SCIENCE, 2010, 411 (16-18) : 1793 - 1808
  • [6] Multiway In-Place Merging
    Geffert, Viliam
    Gajdos, Jozef
    FUNDAMENTALS OF COMPUTATION THEORY, PROCEEDINGS, 2009, 5699 : 133 - 144
  • [7] On optimal merging networks
    Amano, K
    Maruoka, A
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2003, PROCEEDINGS, 2003, 2747 : 152 - 161
  • [8] Optimal stable merging
    Symvonis, A
    COMPUTER JOURNAL, 1995, 38 (08): : 681 - 690
  • [9] Online Optimal Control of Connected Vehicles for Efficient Traffic Flow at Merging Roads
    Rios-Torres, Jackeline
    Malikopoulos, Andreas A.
    Pisu, Pierluigi
    2015 IEEE 18TH INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION SYSTEMS, 2015, : 2432 - 2437
  • [10] An efficient algorithm for optimal routing applied to convoy merging manoeuvres in urban environments
    Valdes, Fernando
    Iglesias, Roberto
    Espinosa, Felipe
    Rodriguez, Miguel A.
    APPLIED INTELLIGENCE, 2012, 37 (02) : 267 - 279