arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.03203cs.DS
收藏

一种新的不匹配字符串匹配算法

A Novel Algorithm for String Matching with Mismatches

Vinodprasad P

摘要:

本文提出了一种在线的字符串模式匹配算法。我们研究的问题通常被称为不匹配的字符串匹配,其目标是报告当模式与文本中的每个位置对齐时匹配的字符数。我们提出的新方法是基于模式和文本中单个字符的频率。该算法以简单数组的形式占用最少的空间,从而减少了维护后缀树或自动机等复杂数据结构的开销。

英文摘要:

We present an online algorithm to deal with pattern matching in strings. The problem we investigate is commonly known as string matching with mismatches in which the objective is to report the number of characters that match when a pattern is aligned with every location in the text. The novel method we propose is based on the frequencies of individual characters in the pattern and the text. The algorithm consumes minimal space in the form of simple arrays, which reduces the cost overhead to maintain the complex data structures such as suffix trees or automaton.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑