首页> 外文期刊>Journal of combinatorial mathematics and combinatorial computing >Regular Expression Matching Algorithms using Dual Position Automata
【24h】

Regular Expression Matching Algorithms using Dual Position Automata

机译:使用双重位置自动机的正则表达式匹配算法

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

摘要

This paper introduces an automaton model called a dual position automaton (a dual PA), and then gives a bit-parallel algorithm for generating a dual PA from a regular expression (RE). For any RE r over an alphabet E, our translation algorithm generates a dual PA consisting of m(m + 1) bits in O(m[m/w]) time and space, where w is the length of a computer word, m = ∑_(a∈∑) m_a and m_a is the number of occurrences of an alphabet symbol a in r. Furthermore, we give a method to construct a compact DFA representation from a dual PA. This DFA representation requires only (m + 1) ∑_(a∈∑)2~(m_a) bits. Finally, we show RE matching algorithms using such a DFA representation.
机译:本文介绍了一种称为双位置自动机(双PA)的自动机模型,然后给出了一种从正则表达式(RE)生成双PA的位并行算法。对于字母E上的任何RE r,我们的翻译算法都会生成一个双PA,该双PA由O(m [m / w])时空中的m(m + 1)个位组成,其中w是计算机字的长度,m = ∑_(a∈∑)m_a并且m_a是r中字母符号a出现的次数。此外,我们提供了一种从双PA构建紧凑的DFA表示的方法。此DFA表示仅需要(m +1)个∑_(a∈∑)2〜(m_a)位。最后,我们展示了使用这种DFA表示形式的RE匹配算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号