首页> 外文期刊>Theoretical computer science >An extended Earley's algorithm for Petri net controlled grammars without λ rules and cyclic rules
【24h】

An extended Earley's algorithm for Petri net controlled grammars without λ rules and cyclic rules

机译:没有λ规则和循环规则的Petri网控制文法的扩展Earley算法

获取原文
获取原文并翻译 | 示例
       

摘要

In this paper we introduce an algorithm which solves the membership problem of Petri net controlled grammars without λ-rules and cyclic rules. We define a conditional tree which is a modified derivation tree of a context-free grammar with information about control by a Petri net. It is shown that a conditional tree is cancelled to a derivation tree without conditions if and only if there is a derivation under the control of the Petri net from the start symbol to a word which is the yielding of the conditional tree. Then the Earley's algorithm is extended to make a conditional tree in addition to parse a word. Thus the word is generated by a given Petri net controlled grammar if and only if the resulting conditional tree is cancelled to a tree of no condition. The time complexity of the algorithm is nondeterministic polynomial of the length of an input word. Therefore the class of languages generated by Petri net controlled grammars without λ-rules and cyclic rules is included in the class of context-sensitive languages.
机译:在本文中,我们介绍了一种算法,它解决了没有λ规则和循环规则的Petri网控制语法的隶属度问题。我们定义一个条件树,它是上下文无关文法的改进派生树,其中包含关于Petri网控制的信息。结果表明,当且仅当在Petri网的控制下,从起始符号到单词,即条件树的屈服,有条件树被取消为无条件的衍生树。然后,Earley的算法被扩展为除了解析单词外还制作条件树。因此,当且仅当结果条件树被取消为无条件树时,该词才由给定的Petri网控制语法生成。该算法的时间复杂度是输入单词长度的不确定多项式。因此,由Petri网控制的语法生成的没有λ规则和循环规则的语言类别包括在上下文相关语言类别中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号