Elsevier

Discrete Applied Mathematics

Volume 77, Issue 3, 22 August 1997, Pages 201-220
Discrete Applied Mathematics

Contribution
Time-optimal tree computations on sparse meshes

https://doi.org/10.1016/S0166-218X(97)00135-2Get rights and content
Under an Elsevier user license
open archive

Abstract

The main goal of this work is to fathom the suitability of the mesh with multiple broadcasting architecture (MMB) for some tree-related computations. We view our contribution at two levels: on the one hand, we exhibit time lower bounds for a number of tree-related problems on the MMB. On the other hand, we show that these lower bounds are tight by exhibiting time-optimal tree algorithms on the MMB. Specifically, we show that the task of encoding and/or decoding n-node binary and ordered trees cannot be solved faster than Ω(log n) time even if the MMB has an infinite number of processors. We then go on to show that this lower bound is tight. We also show that the task of reconstructing n-node binary trees and ordered trees from their traversais can be performed in O(1) time on the same architecture. Our algorithms rely on novel time-optimal algorithms on sequences of parentheses that we also develop.

Keywords

Meshes with multiple broadcasting
Binary trees
Ordered trees
Encoding
Decoding
Traversals
Tree reconstruction
Parentheses matching
Parallel algorithms
Time-optimal algorithms

Cited by (0)

Work supported by NASA grant NAS1-19858, by NSF grant CCR-9522093, and by ONR grant N00014-95-1-0779.