DocumentCode :
2503897
Title :
A cost-optimal parallel algorithm for the parentheses matching problem on an EREW PRAM
Author :
Chen, Calvin C -Y ; Das, Sajal K.
Author_Institution :
Dept. of Comput. Sci., North Texas Univ., Denton, TX, USA
fYear :
1991
fDate :
30 Apr-2 May 1991
Firstpage :
132
Lastpage :
137
Abstract :
The article presents a cost-optimal parallel algorithm for the parentheses matching problem on the EREW PRAM model. For n parentheses, the algorithm requires O(n/p+log n) time and O(n+p log p) space, employing p processors. Thus, for pn/log n, it achieves optimal speedup, requiring O(log n ) time and O(n) space. Though the time complexity of the algorithm is comparable with those of the two existing cost-optimal algorithms on the same model, the new approach is simpler and utilizes an extended prefix-sum algorithm. Furthermore, its space requirement employs only (n/log n) processors
Keywords :
computational complexity; grammars; parallel algorithms; EREW PRAM; parallel algorithm; parentheses matching; prefix-sum algorithm; time complexity; Algorithm design and analysis; Arithmetic; Binary trees; Concurrent computing; Data structures; Distributed computing; Parallel algorithms; Partitioning algorithms; Phase change random access memory; Read-write memory;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Processing Symposium, 1991. Proceedings., Fifth International
Conference_Location :
Anaheim, CA
Print_ISBN :
0-8186-9167-0
Type :
conf
DOI :
10.1109/IPPS.1991.153768
Filename :
153768
Link To Document :
بازگشت