【24h】

Linear Nondeterministic Dawg String Matching Algorithm

机译:线性不确定Dawg字符串匹配算法

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

摘要

The exact string matching problem is to find all the occurrences of a given pattern x = x_1 x_2 ··· x_m in a large text y = y_1 y_2 ··· y_n, where both x and y are sequences of symbols drawn from a finite character set Σ of size σ. Various good solutions have been presented during years. Among them, BNDM is a very efficient and flexible algorithm. It simulates the BDM algorithm using bit-parallelism. BNDM first builds a mask table B for each symbol c. The mask in B[c] has the i-th bit set if and only if x_i = c. The search state is kept in a computer word L = L_m ··· L_1, where the bit L_i at iteration l is set if and only if x_i ··· x_(i+l-1) = y_(j-l+1) ··· y_j, where j is the end position of the current window. Each time we position the window in the text we initialize L = 1~m and scan the window backward.
机译:确切的字符串匹配问题是在大文本y = y_1 y_2 y_n中找到给定模式x = x_1 x_2···x_m的所有出现,其中x和y都是从有限字符中提取的符号序列设置大小为σ的Σ。多年来已经提出了各种好的解决方案。其中,BNDM是一种非常有效且灵活的算法。它使用位并行模拟BDM算法。 BNDM首先为每个符号c建立一个掩码表B。当且仅当x_i = c时,B [c]中的掩码才设置第i位。搜索状态保存在计算机字L = L_m·L_1中,其中当且仅当x_i·x_(i + l-1)= y_(j-l + 1)时才设置迭代l的位L_i )···y_j,其中j是当前窗口的结束位置。每次将窗口放置在文本中时,我们都会初始化L = 1〜m并向后扫描窗口。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号