首页> 外文会议>International Scientific Conference "RESHETNEV READINGS" >Combined string searching algorithm based on knuth-morris-pratt and boyer-moore algorithms
【24h】

Combined string searching algorithm based on knuth-morris-pratt and boyer-moore algorithms

机译:基于Knuth-Morris-Pratt和Boyer-Moore算法的组合串搜索算法

获取原文

摘要

The string searching task can be classified as a classic information processing task. Users either encounter the solution of this task while working with text processors or browsers, employing standard built-in tools, or this task is solved unseen by the users, while they are working with various computer programmes. Nowadays there are many algorithms for solving the string searching problem. The main criterion of these algorithms' effectiveness is searching speed. The larger the shift of the pattern relative to the string in case of pattern and string characters' mismatch is, the higher is the algorithm running speed. This article offers a combined algorithm, which has been developed on the basis of well-known Knuth-Morris-Pratt and Boyer-Moore string searching algorithms. These algorithms are based on two different basic principles of pattern matching. Knuth-Morris-Pratt algorithm is based upon forward pattern matching and Boyer-Moore is based upon backward pattern matching. Having united these two algorithms, the combined algorithm allows acquiring the larger shift in case of pattern and string characters' mismatch. The article provides an example, which illustrates the results of Boyer-Moore and Knuth-Morris-Pratt algorithms and combined algorithm's work and shows advantage of the latter in solving string searching problem.
机译:字符串搜索任务可以被分类为经典信息处理任务。用户要么遇到此任务的解决方案,同时使用文本处理器或浏览器,使用标准内置工具,或者用户由用户解决此任务,而他们正在使用各种计算机程序。如今有许多算法来解决字符串搜索问题。这些算法有效的主要标准正在搜索速度。在图案和字符串字符的不匹配的情况下,图案相对于字符串的偏移越大,算法运行速度越高。本文提供了一种组合算法,该算法已经在众所周知的Knuth-Morris-Pratt和Boyer-Moore String搜索算法的基础上开发。这些算法基于图案匹配的两种不同的基本原理。 KNUTH-MORRIS-PRATT算法基于前向模式匹配,Boyer-Moore基于向后模式匹配。具有联合这两种算法,组合算法允许在模式和字符串字符的不匹配情况下获取更大的班次。本文提供了一个示例,其示出了博伊尔-Moore和Knuth-Morris-Pratt算法的结果和组合算法的工作,并显示了后者在解决串搜索问题的优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号