Optimal Tree Contraction and Term Matching on the Hypercube and Related Networks

E. W. Mayr, R. Werchner

Research output: Contribution to journalArticlepeer-review

7 Scopus citations

Abstract

An optimal tree contraction algorithm for the boolean hypercube and the constant-degree hypercubic networks, such as the shuffle exchange or the butterfly network, is presented. The algorithm is based on novel routing techniques and, for certain small subtrees, simulates optimal PRAM algorithms. For trees of size n, stored on a p processor hypercube in in-order, the running time of the algorithm is O ([n/p] log p). The resulting speed-up of O (p/log p) is optimal due to logarithmic communication overhead, as shown by a corresponding lower bound. The same algorithmic ingredients can also be used to solve the term matching problem, one of the fundamental problems in logic programming.

Original languageEnglish
Pages (from-to)445-460
Number of pages16
JournalAlgorithmica
Volume18
Issue number3
DOIs
StatePublished - Jul 1997

Keywords

  • Algebraic tree computation
  • Formula evaluation
  • Hypercube
  • Term matching
  • Tree contraction

Fingerprint

Dive into the research topics of 'Optimal Tree Contraction and Term Matching on the Hypercube and Related Networks'. Together they form a unique fingerprint.

Cite this