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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
M. Adler and J. W. Byers and R. M. Karp: Parallel Sorting With Limited Bandwidth. Proc. ACM Symposium on Parallel Algorithms and Architectures (1995) 129–136
Selim G. Akl: Parallel Computation, Models and Methods. Prentice Hall, 1997
Omer Berkman and Baruch Schieber and Uzi Vishkin: Optimal Doubly Logarithmic Parallel Algorithms Based on Finding All Nearest Smaller Values. Journal of Algorithms, Vol 14, 1993, 344–370
A. Borodin and J.E. Hopcroft: Routing, Merging and Sorting on Parallel Models of Computation. J. Computer and System Science, Vol 30, 1985, 130–145
D. Breslauer and Z. Galil: An Optimal O(loglogn) Time Parallel String Matching Algorithm. SIAM J. Computing, Vol 19, 1990, 1050–1058
T. H. Cormen and C. E. Leiserson and R. L. Rivest: Introduction to Algorithms. McGraw-Hill, 2000
F. Dehne and A. Fabri and A. Rau-Chaplin: Scalable Parallel Geometric Algorithms for Coarse Grained Multicomputers. Proc. 9th ACM Annual Computational Geometry, 1993, 298–307
Joseph JáJá: An Introduction to Parallel Algorithms. Addison-Wesley, 1992
J. Katajainen: Finding All Nearest Smaller Values on a Distributed Memory Machine. Proc. of Conference on Computing: The Australian Theory Symposium, 1996, 100–107
Z.M. Kedem and G.M. Landau and K.V. Palem: Optimal Parallel Prefix-Suffix Matching Algorithm and Applications. Proc. 1st ACM Symposium on Parallel Algorithms and Architectures, 1989, 388–398
D. Kravets and C. G. Plaxton: All Nearest Smaller Values on the Hypercube. IEEE Transactions on Parallel and Distributed Systems, Vol 7, No 5, 1996, 456–462
C.P. Kruskal: Searching, Merging and Sorting in Parallel Computation. IEEE Transactions on Computers, Vol C-32, 1983, 942–946
W. F. McColl: Scalable Computing. Computer Science Today: Recent Trends and Developments, Edited by J. van Leeuwen, Lecture Notes in Computer Science, Vol 1000, Springer-Verlag, Berlin, 1995, 46–61
J.H. Reif: Synthesis of Parallel Algorithms. Morgan Kaufmann, 1993
B. Schieber and U. Vishkin: Finding All Nearest Neighbors for Convex Polygons in Parallel: A New Lower Bound Technique and A Matching Algorithm. Discrete App. Math., Vol 29, 1990, 97–111
Leslie G. Valiant: A Bridging Model for Parallel Computation. Communications of the ACM, Vol 33, No 8, 1990, 103–111
Xin He and Chun-Hsi Huang: Communication Efficient BSP Algorithm for All Nearest Smaller Values Problem. Journal of Parallel and Distributed Computing, Vol 61, 2001, 1425–1438
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Huang, CH., He, X. (2002). Average-Case Communication-Optimal Parallel Parenthesis Matching. In: Bose, P., Morin, P. (eds) Algorithms and Computation. ISAAC 2002. Lecture Notes in Computer Science, vol 2518. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36136-7_28
Download citation
DOI: https://doi.org/10.1007/3-540-36136-7_28
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00142-3
Online ISBN: 978-3-540-36136-7
eBook Packages: Springer Book Archive