Caterpillars and Context-Free Languages
Caterpillars and Context-Free Languages
复制标题
毛毛虫和上下文无关语言
DOI:
--
复制
发表时间:
1990
期刊:
影响因子:
--
通讯作者:
B. Monien
中科院分区:
文献类型:
--
作者:
M. Chytil;B. Monien
We use the concept of a caterpillar tree to study the properties of context-free languages, in particular new results about the index of context-free languages and the recognition of context-free languages are obtained this way. The first group of results points to differences between ambiguous and unambiguous languages. For unambiguous languages we prove the existence of a gap between finite index and O(log n) index. For ambiguous languages there is no such a gap: we prove the existence of grammars with infinite but arbitrarily slowly growing index. We show that bounded languages are of finite index and give a deterministic log space algorithm for the recognition of deterministic finite index languages. We also describe a parallel algorithm recognizing deterministic context-free languages on a CREW-PRAM with O(n2) processors in time O(log2n).