Average-Case Communication-Optimal Parallel Parenthesis Matching

  • Authors:
  • Chun-Hsi Huang;Xin He

  • Affiliations:
  • -;-

  • Venue:
  • ISAAC '02 Proceedings of the 13th International Symposium on Algorithms and Computation
  • Year:
  • 2002

Quantified Score

Hi-index 0.02

Visualization

Abstract

We provide the first non-trivial lower bound, p - 3/p 驴 n/p, where p is the number of the processors and n is the data size, on the average-case communication volume, 驴, required to solve the parenthesis matching problem and present a parallel algorithm that takes linear (optimal) computation time and optimal expected message volume, 驴 + p.The kernel of the algorithm is to solve the all nearest smaller values problem. Provided n/p = 驴(p), we present an algorithm that achieves optimal sequential computation time and uses only a constant number of communication phases, with the message volume in each phase bounded above by (n/p + p) in the worst case and p in the average case, assuming the input instances are uniformly distributed.