首页> 外文会议>LATIN'98: Theoretical informatics >Fast Two-Dimensional Approximate Pattern Matching
【24h】

Fast Two-Dimensional Approximate Pattern Matching

机译:快速二维近似模式匹配

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

摘要

We address the problem of approximate string matching in two dimensions, that is, to find a pattern of size m*m in a text of size n*n with at most k errors. ALthough the problem can be solved using dynamic programming in time O(m sup 2n sup 2), this is in general too expensive for small k . So we design a filtering algorithm which avoids verifying most of the text with dynamic programming. This filter is based on a one-dimensional multi-pattern approximate search algorithm. The average complexity of our resulting algorithm is O(n sup 2klog m/m sup 2) for k < m(m+1)/(5 log m), which is optimal and matches the best previous result which allows only subbstitutions. For higher error levels, we present an algorithm with time complexity O(n sup 2k/w delta sup 1/2). This algorithm works for k < m(m+1)(1-e/delta sup 1/2), where e=2.178 ..., a limit whihc is not possible to improve. These are the firt good expected-case algorithms for the problem. Our algorithms work also for rectangular patterns and rectangular text and can even be extended to the case where each row in the pattern and the text has a different length.
机译:我们解决了二维近似字符串匹配的问题,即在大小为n * n的文本中找到最多为k个错误的大小为m * m的模式。尽管可以使用时间为O(m sup 2n sup 2)的动态编程解决问题,但通常对于小k来说太昂贵了。因此,我们设计了一种过滤算法,可避免使用动态编程来验证大部分文本。该过滤器基于一维多模式近似搜索算法。对于k

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号