Time-optimal tree computations on sparse meshes

被引:0
|
作者
Bhagavathi, D
Bokka, V
Gurla, H
Olariu, S
Schwing, JL
机构
[1] OLD DOMINION UNIV,DEPT COMP SCI,NORFOLK,VA 23529
[2] SO ILLINOIS UNIV,DEPT COMP SCI,EDWARDSVILLE,IL 62026
基金
美国国家航空航天局;
关键词
meshes with multiple broadcasting; binary trees; ordered trees; encoding; decoding; traversals; tree reconstruction; parentheses matching; parallel algorithms; time-optimal algorithms;
D O I
10.1016/S0166-218X(97)00135-2
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
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 Omega(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 traversals 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.
引用
收藏
页码:201 / 220
页数:20
相关论文
共 50 条