TY - JOUR
T1 - Pattern selector grammars and several parsing algorithms in the context-free style
AU - Gonczarowski, J.
AU - Shamir, E.
PY - 1985/6
Y1 - 1985/6
N2 - Pattern selector grammars are defined in general. We concentrate on the study of special grammars, the pattern selectors of which contain precisely κ "one"s (0*(10*)κ) or κ adjacent "one"s (0*1κ0*). This means that precisely κ symbols (resp. κ adjacent symbols) in each sentential form are rewritten. The main results concern parsing algorithms and the complexity of the membership problem. We first obtain a polynomial bound on the shortest derivation and hence an NP time bound for parsing. In the case κ = 2, we generalize the well-known context-free dynamic programming type algorithms, which run in polynomial time. It is shown that the generated languages, for κ = 2, are log-space reducible to the context-free languages. The membership problem is thus solvable in log2 space.
AB - Pattern selector grammars are defined in general. We concentrate on the study of special grammars, the pattern selectors of which contain precisely κ "one"s (0*(10*)κ) or κ adjacent "one"s (0*1κ0*). This means that precisely κ symbols (resp. κ adjacent symbols) in each sentential form are rewritten. The main results concern parsing algorithms and the complexity of the membership problem. We first obtain a polynomial bound on the shortest derivation and hence an NP time bound for parsing. In the case κ = 2, we generalize the well-known context-free dynamic programming type algorithms, which run in polynomial time. It is shown that the generated languages, for κ = 2, are log-space reducible to the context-free languages. The membership problem is thus solvable in log2 space.
UR - http://www.scopus.com/inward/record.url?scp=0022080708&partnerID=8YFLogxK
U2 - 10.1016/0022-0000(85)90046-7
DO - 10.1016/0022-0000(85)90046-7
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:0022080708
SN - 0022-0000
VL - 30
SP - 249
EP - 273
JO - Journal of Computer and System Sciences
JF - Journal of Computer and System Sciences
IS - 3
ER -