首页> 外文会议>International Conference on Electrical Engineering and Informatics >A new string matching algorithm based on logical indexing
【24h】

A new string matching algorithm based on logical indexing

机译:一种基于逻辑索引的新字符串匹配算法

获取原文

摘要

Searching process performance is very important in this modern world that consists of various advanced technology. String matching algorithm is one of the most commonly applied algorithms for searching. String that contains sequences of character is the simplest representation of any complex data in our real life, such as search engine database, finger print minutiae, or DNA sequence. The current most famous string algorithms are Knuth-Morris-Pratt (KMP) algorithm and Boyer-Moore (BM) algorithm. Boyer-Moore algorithm and KMP algorithm are not efficient in some cases. We introduced a new variation of string matching algorithm based on Logical-Indexing (LI), which is more efficient than those algorithms. Logical-Indexing algorithm implements a new function or method and defines different jumping rules compared to others. The indexes of texts and patterns are used to reduce the number of comparisons. Index enables us to analyze the condition of comparison without directly comparing each character in the pattern. Theoretically, we have proven that Logical-Indexing algorithm can skip more characters than KMP and BM algorithm by analyzing KMP's and BM's weaknesses then giving the better solution that are implemented in LI. Furthermore, experiments conducted on various combinations of pattern matching cases also demonstrate that the average number of LI's direct comparisons is smaller than KMP's and BM's algorithm.
机译:搜索过程性能在这座现代世界中非常重要,这包括各种先进技术。字符串匹配算法是用于搜索最常用的算法之一。包含字符序列的字符串是我们现实生活中任何复杂数据的最简单表示,例如搜索引擎数据库,手指打印细节或DNA序列。目前最着名的字符串算法是KNUTH-MORRIS-PRATT(KMP)算法和Boyer-Moore(BM)算法。 Boyer-Moore算法和KMP算法在某些情况下都不有效。我们介绍了基于逻辑索引(LI)的串匹配算法的新变化,比这些算法更有效。逻辑索引算法实现了一个新的函数或方法,并与他人相比定义了不同的跳跃规则。文本和模式的索引用于减少比较次数。索引使我们能够分析比较的条件而不直接比较模式中的每个字符。从理论上讲,我们已经证明,通过分析KMP和BM的弱点,逻辑索引算法可以比KMP和BM算法跳过更多的字符,然后给出LI中实现的更好的解决方案。此外,在模式匹配案件的各种组合上进行的实验还表明,LI的直接比较的平均数小于KMP和BM算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号