OPTIMAL INSERTION IN 2-DIMENSIONAL ARRAYS

Citation
Ma. Ahmed et al., OPTIMAL INSERTION IN 2-DIMENSIONAL ARRAYS, Information sciences, 99(1-2), 1997, pp. 1-20
Citations number
14
Categorie Soggetti
Information Science & Library Science","Computer Science Information Systems
Journal title
ISSN journal
00200255
Volume
99
Issue
1-2
Year of publication
1997
Pages
1 - 20
Database
ISI
SICI code
0020-0255(1997)99:1-2<1:OII2A>2.0.ZU;2-J
Abstract
An algorithm for finding binary insertion trees for MxN two-dimensiona l arrays from one-dimensional optimal insertion trees is proposed. New theorems that apply to the one-dimensional optimal insertion trees ar e presented, and a bound on the cost of two-dimensional binary inserti on trees is found. The proposed algorithm uses a fast O(n log n) algor ithm on (M+N+2) one-dimensional arrays and the results of the presente d theorems to determine the root of the two-dimensional insertion tree . The algorithm is repeated successively on each of the two resulting two-dimensional arrays to determine the left and right subtrees. The a lgorithm is easy to implement and yields optimal trees for some specia l two-dimensional arrays and close to optimal trees for arbitrary arra ys. (C) Elsevier Science Inc. 1997.