Generating t-ary trees in parallel

  • Authors:
  • Selim G. Akl;Ivan Stojmenovic

  • Affiliations:
  • Department of Computing and Information Science, Queen's University, Kingston, Ontario, Canada K7L 3N6;Computer Science Department, University of Ottawa, Ottawa, Ontario, Canada K1N 9B4

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a cost-optimal parallel algorithm for generating t-ary trees. Using a known inversion table representation, our algorithm generates all tree sequences in lexicographic order. It uses a linear array of n processors (where n is the number of nodes in the tree), each having a constant number of registers (each storing an integer of size at most tn), and each being responsible for producing one element of a given tree sequence.