期刊文献+

改进的近似模式匹配算法

Improved approximate pattern matching algorithm
下载PDF
导出
摘要 为了提高近似模式匹配算法在多次匹配情况下的效率,借鉴了文本快速过滤算法的思想,分析了平均情况下改进的动态规划算法(DP算法),并在此基础上设计实现了一种改进的DP算法,称为IMP-DP。该算法在匹配过程中,将上一次运算的结果存储起来,与上次相同的匹配可在原有成功匹配结果的基础上进行运算,忽略将不可能产生成功匹配的区域,只关注剩余的区域。由算法时间复杂性和实验对比分析结果表明,该算法在多次匹配情况下,效率远远高于其它算法,从而验证了该算法改进的有效性。 In order to improve the efficiency of approximate pattem matching algorithm in the case of matching for several times, the dynamic programming and the text quick filter algorithm are introduced in detailed. DP algorithm is analyzed then, on this basis, an improved algorithm named IMP-DP is designed and implemented drawing on the idea of text quick filter. In the process of matching, the results of the previous operation will be stored, so the same matching can be calculated on the basis of the previous successful matching. The algorithm will ignore the region which could not process the successful matching, and only concern with the remaining region. Through time complexity analysis and experimental comparison, it is found that IMP-DP algorithm is far more efficient than other pattern matching algorithms in the case of matching for several times. So IMP-DP is proven to be effective.
出处 《计算机工程与设计》 CSCD 北大核心 2011年第5期1820-1823,共4页 Computer Engineering and Design
基金 国家自然科学基金项目(60875045)
关键词 模式匹配 近似模式匹配 动态规划 文本快速过滤 IMP—DP pattern matching approximate pattern matching dynamic programming text quick filter IMP-DP
  • 相关文献

参考文献15

  • 1Gonzalo Navarro,Mathieu Raffinot.Flexible pattern matching in strings [M]. Beijing: Publishing House of Electronics Industry, 2007.
  • 2Oliveira F, Tavares J.Algorithm of dynamic programming for optimization of the global matching between two contours defined by ordered points[J]. CMES: Computer Modeling in Engineering & Sciences,2008,31 (1): 1-11.
  • 3Francisco P M,Manuel R S,Todd C A.Versatile matching algorithm based on dynamic programming with circular order preserving [C]. Porto, Portugal: VIPimage 2009-II ECCOMAS Thematic Conference on Computational Vision and Medical Image Processing,2009.
  • 4Huyrda T, Hon W K,Lam T W, et al.Approximate string matching using compressed suffix arrays[J].Theoret Comput Sci,2006,352 (1/3): 240-249.
  • 5Karkkainen J.Faster filters for approximate string matching[C] Workshop on Algorithm Engineering and Experiments, 2007 1-7.
  • 6Hyyro H,Navarro G.Bit-parallel witnesses and their applications to approximate string matching [J]. Algorithmica, 2005,41 (3): 203 -231.
  • 7Hyyro H. Bit-parallel approximate string matching algorithms with transposition[J].Discrete Alg,2005,3(2/4):215-229.
  • 8Cleophas L,Watson B W.A new taxonomy of sublinear right-toleft scanning keyword pattern matching algorithms [J]. ACM SAC 08,2010,75(11):1095-1112.
  • 9Lin Po-Ching, Lin Yin-Dar, Lai Yuan-Cheng, et al. Realizing a sub-linear time string-matching algorithm with a hardware accelerator using bloom filters [J]. IEEE Transaction, 2009,17 (8): 1008-1020.
  • 10Sung W K. Indexed approximate string matching [M]. Berlin, Germany: Springer,2008:408-411.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部