Optimal height reduction problems for tree-structured hierarchies

  • Authors:
  • Owen Kaser

  • Affiliations:
  • Department of Mathematics, Statistics, and Computer Science, University of New Brunswick, Saint John, N.B., E2L 4L5, Canada

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

Hierarchical descriptions of objects may be restructured by selective inlining. This paper considers the improvement of tree-structured hierarchies. Trade-offs are observed between the increased size of an inlined description, and its reduced number of hierarchical levels. Optimization problems are formulated where the minimum size expansion is incurred while obtaining a desired height reduction. Two varieties of inlining are considered, and weighted graphs are used to model the optimization problem. For one variety of inlining, an O(n√H log n)-time algorithm is described; it can reduce an n-cell hierarchy to H levels, if the structure of the hierarchy is linear. For general trees, an O(Hn2)-time algorithm is given. With the other variety of inlining, the linear problem is solved in O(H2n3) time, while for general trees with certain arc-weight constraints, a 2-approximate algorithm runs in O(Hn2) time. Related open problems are given and applications are discussed.