Bounds on the size of merging networks
Discrete Applied Mathematics
The asymptotic complexity of merging networks
Journal of the ACM (JACM)
The art of computer programming, volume 3: (2nd ed.) sorting and searching
The art of computer programming, volume 3: (2nd ed.) sorting and searching
Lower Bounds on Merging Networks
Journal of the ACM (JACM)
Lower bounds for merging networks
Information and Computation
Hi-index | 5.23 |
Let M(m, n) be the minimum number of comparators which constructs an (m, n)-merging network. Batcher's odd-even merge, which is a merging network constructed by his algorithm, provides the best upper bound for M(m, n) to date. Recently Iwata (Inform. and Comput. 168 (2001) 187) analyzed the property of leftmost comparators, and showed M(m1 + m2, n) ≥ [(M(m1, n) + M(m2, n) + m1 + m2 + n - 2)/2]. We extend Iwata's proofs and show that Batcher's (6, 8k + 7)-, (9, 16k + 9)-, (7, 8)-merging networks are optimal for all k ≥ 0.In Batcher's (m, n)-merging network, the ith smallest element out of m elements and another ith smallest element out of n elements are first compared for all i (1 ≤ i ≤ min{m, n}). Under an assumption of existence of such min{m, n} comparators in optimal (m, n)-merging networks, we show that M(n, n) = M(n - 1, n) + 1 = M(n - 2, n) + 3.