Research note: Parallel algorithms for tree accumulations

  • Authors:
  • Fatih E. Sevilgen;Srinivas Aluru;Natsuhiko Futamura

  • Affiliations:
  • Computer Engineering, Gebze Institute of Technology, Turkey;Department of Electrical and Computer Engineering, Iowa State University, 3218 Coover Hall, Ames, IA 50011, USA;Computer Science and Engineering, Wright State University, Dayton, OH 45435, USA

  • Venue:
  • Journal of Parallel and Distributed Computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Accumulations are abstract operations on trees useful in many applications involving trees. The upward accumulation problem is to aggregate data in the subtree under each node of the tree. The downward accumulation problem is to aggregate data at all the ancestors of each node. In this paper, we present parallel algorithms for these problems on coarse-grained distributed memory parallel computers. We first show that when the accumulation function and the set of possible values at nodes of the tree form an Abelian (commutative) group, this problem can be solved by a remarkably simple algorithm-Upward accumulation takes Onp+@tp+@mnp time, where n is the number of nodes in the tree, p is the number of processors, @t is the communication latency and @m is the transfer time per unit message size. Downward accumulation takes Onp+(@t+@m)logp time, making it very communication efficient. For the general case, we present upward and downward accumulation algorithms that run in Onplogn+@tplogn+@mnplogn time.