Title :
A new parallel algorithm for the parentheses-matching problem
Author :
Bergogne, Laurent ; Cérin, Christophe
Author_Institution :
Picardie Jules Verne Univ., Amiens, France
Abstract :
The parentheses-matching problem is of crucial importance in the construction of expression tree in order to evaluate, for instance, arithmetic expressions. A new parallel algorithm is introduced in this paper to solve the parentheses-matching problem optimally (in O(log2 n) parallel time with O(n/log2 n) processors) on an EREW-PRAM model. An algorithm for an input string of n parentheses with a maximal nested level of log n is also presented
Keywords :
computational complexity; parallel algorithms; tree searching; EREW-PRAM model; arithmetic expressions; expression tree; maximal nested level; parallel algorithm; parentheses-matching problem; Arithmetic; Calculus; Data structures; Formal languages; Impedance matching; Parallel algorithms; Phase change random access memory; Tree data structures;
Conference_Titel :
Parallel Algorithms/Architecture Synthesis, 1997. Proceedings., Second Aizu International Symposium
Conference_Location :
Aizu-Wakamatsu
Print_ISBN :
0-8186-7870-4
DOI :
10.1109/AISPAS.1997.581700