Skip to main content

Construction of nearly optimal multiway trees

  • Session 9: Algorithms
  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1276))

Abstract

In this paper, the construction of nearly optimal multiway trees for n keys, n key weights, and n + 1 gap weights, is investigated. we present an efficient algorithm for this problem having a time complexity of O(H t n), where H is the height of the resulting tree and t is its order. The algorithm is based on a top down approach. For a given set of keys, we determine a subset of keys that should stay in the root. This leads to equal subproblems of smaller size. For the determination of the root keys, we use a variant of the concave least-weight subsequence problem that can be solved in linear time. Computational experiments have always yielded trees for which the weighted path length is not more than two percent above the optimal weighted path length.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. R. Bayer, E. M. McCreight, Organization and Maintenance of Large Ordered Indexes, Acta Informatica, Vol. 1, 173–189, 1972

    Google Scholar 

  2. P. Becker, A New Algorithm for the Construction of Optimal B-Trees, Nordic Journal of Computing, Vol. 1, No. 4, 389–401, 1994

    Google Scholar 

  3. L. Gotlieb, Optimal Multi-Way Search Trees, SIAM Journal of Computing, Vol. 10, No. 3, 422–433, 1981

    Google Scholar 

  4. D. S. Hirschberg, L. L. Larmore, The Least Weight Subsequence Problem, SIAM Journal on Computing, Vol. 16, No. 4, 628–638, 1987

    Google Scholar 

  5. D. E. Knuth, Optimum Binary Search Trees, Acta Informatica, Vol. 1, 14–25, 1971

    Google Scholar 

  6. K. Mehlhorn, Nearly Optimum Binary Search Trees, Acta Informatica, Vol. 5, 287–295, 1975

    Google Scholar 

  7. V. K. Vaishnavi, H. P. Kriegel, D. Wood, Optimum Multiway Search Trees, Acta Informatica, Vol. 14, 119–133, 1980

    Google Scholar 

  8. R. Wilber, The Concave Least-Weight Subsequence Problem Revisted, Journal of Algorithms, Vol. 9, 418–425, 1988

    Google Scholar 

  9. F. F. Frances Yao, Efficient dynamic programming using quadrangle inequalities, Proc. 12th Annual ACM Symposium om the Theory of Computing, 429–435, 1980

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Tao Jiang D. T. Lee

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Becker, P. (1997). Construction of nearly optimal multiway trees. In: Jiang, T., Lee, D.T. (eds) Computing and Combinatorics. COCOON 1997. Lecture Notes in Computer Science, vol 1276. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0045096

Download citation

  • DOI: https://doi.org/10.1007/BFb0045096

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-63357-0

  • Online ISBN: 978-3-540-69522-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics