Optimal simulations of tree machines
- 1 October 1986
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02725428,p. 274-282
- https://doi.org/10.1109/sfcs.1986.38
Abstract
Universal networks offer the advantage that they can execute programs written for simpler architectures without significant run-time overhead. In this paper we investigate simulations of tree machines; the fact that divide-and-conquer algorithms are programmed naturally on trees motivates our investigation. Among various proposals for parallel computing the boolean hypercube has emerged as a particularly versatile network. It is well known that programs for multidimensional grid machines, for example, can be executed on a hypercube with no communications overhead by embedding the grid as a subgraph of the hypercube. Our first result is that a program for any tree machine can be executed on the hypercube with constant overhead. More precisely, every cycle of a synchronous binary tree can be simulated in O(1) cycles on a hypercube, independent of the shape of the tree. The algorithm to embed the tree within the hypercube runs in polynomial time. We also give efficient simulations of arbitrary binary trees on the complete binary tree, the FFT and shuffle-exchange networks. It is natural to ask if any sparse network can simulate every binary tree efficiently. Somewhat surprisingly, we construct a universal bounded-degree network on N nodes for which every N node binary tree is a spanning tree. In other words, every binary tree can be simulated on our universal network with no overhead. This improves previous bounds on the sizes of universal graphs for trees.Keywords
This publication has 6 references indexed in Scilit:
- A framework for solving VLSI graph layout problemsJournal of Computer and System Sciences, 1984
- Cost Trade-offs in Graph Embeddings, with ApplicationsJournal of the ACM, 1983
- On Universal Graphs for Spanning TreesJournal of the London Mathematical Society, 1983
- Multidimensional Binary Search Trees in Database ApplicationsIEEE Transactions on Software Engineering, 1979
- ON UNIVERSAL GRAPHSAnnals of the New York Academy of Sciences, 1979
- On graphs which contain all small treesJournal of Combinatorial Theory, Series B, 1978