In this paper the construction of optimal B-trees for n keys, n key weights, and n+1 gap weights, is investigated. The best algorithms up to now have running time O (k n 3 log n), where k is the order of the Btree. These algorithms are based on dynamic programming and use step by step construction of larger trees from optimal smaller trees. We present a new algorithm, which has running time O(k n α), with α=2+log 2/log (k+1). This is a substantial improvement to the former algorithms. The improvement is achieved by applying a different dynamic programming paradigm. Instead of step by step construction from smaller subtrees a decison model is used, where the keys are placed by a sequential decision process in such a way into the tree, that the costs become optimal and the B-tree constraints are valid.
CITATION STYLE
Becker, P. (1994). A new algorithm for the construction of optimal B-trees. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 824 LNCS, pp. 49–60). Springer Verlag. https://doi.org/10.1007/3-540-58218-5_5
Mendeley helps you to discover research relevant for your work.