首页> 外文期刊>Theoretical computer science >Parsing Boolean grammars over a one-letter alphabet using online convolution
【24h】

Parsing Boolean grammars over a one-letter alphabet using online convolution

机译:使用在线卷积解析一个字母组成的布尔语法

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

摘要

Consider context-free grammars generating strings over a one-letter alphabet. For the membership problem for such grammars, stated as "Given a grammar G and a string a~n, determine whether a~n is generated by G", only a naive O(|G| · n~2)-time algorithm is known. This paper develops a new algorithm solving this problem, which is based upon fast multiplication of integers, works in time |G| · n log~3 n · 2~(0(log~*n)), and is applicable to context-free grammars augmented with Boolean operations, known as Boolean grammars. For unambiguous grammars, the running time of the algorithm is reduced to |G| · n log~2 n · 2~(0(log~* n)). The algorithm is based upon (a simplification of) the online integer multiplication algorithm by Fischer and Stockmeyer [M.J. Fischer, L.J. Stockmeyer, Fast on-line integer multiplication, Journal of Computer and System Sciences 9 (3) (1974) 317-331].
机译:考虑上下文无关的语法,该语法在一个字母的字母上生成字符串。对于此类语法的隶属度问题,如“给定一个语法G和一个字符串a〜n,确定a〜n是否由G生成”,只有朴素的O(| G |·n〜2)时间算法是众所周知。本文开发了一种解决此问题的新算法,该算法基于整数的快速乘法,可在时间| G |中起作用。 ·n log〜3 n·2〜(0(log〜* n)),适用于以布尔运算增强的上下文无关文法,即布尔文法。对于明确的语法,算法的运行时间减少为| G |。 ·n log〜2 n·2〜(0(log〜* n))。该算法基于Fischer和Stockmeyer [M.J. Fischer,L.J。Stockmeyer,快速在线整数乘法,计算机与系统科学学报9(3)(1974)317-331]。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号