Sciweavers

SOFSEM
2007
Springer

A Simple Algorithm for Stable Minimum Storage Merging

14 years 5 months ago
A Simple Algorithm for Stable Minimum Storage Merging
We contribute to the research on stable minimum storage merging by introducing an algorithm that is particularly simply structured compared to its competitors. The presented algorithm performs O(m log( n m + 1)) comparisons and O((m + n) log m) assignments, where m and n are the sizes of the input sequences with m ≤ n. Hence, according to the lower bounds of merging the algorithm is asymptotically optimal regarding the number of comparisons. As central new idea we present a principle of symmetric splitting, where the start and end point of a rotation are computed by a repeated halving of two search spaces. This principle is structurally simpler than the principle of symmetric comparisons introduced earlier by Kim and Kutzner. It can be transparently implemented by few lines of Pseudocode. We report concrete benchmarks that prove the practical value of our algorithm.
Pok-Son Kim, Arne Kutzner
Added 09 Jun 2010
Updated 09 Jun 2010
Type Conference
Year 2007
Where SOFSEM
Authors Pok-Son Kim, Arne Kutzner
Comments (0)