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

一种基于模式中弱光字符的快速字符串匹配算法

A Fast String Matching Algorithm Based on Lowlight Characters in the Pattern

Zhengjun Cao, Lihua Liu

摘要:

提出了一种新的字符串匹配算法,该算法不从模式的左端或右端进行匹配,而是从一个特定的位置进行匹配。与Knuth-Morris-Pratt算法和Boyer-Moore算法相比,新算法在选择比较起始位置时更加灵活。该选项确实节省了成本。

英文摘要:

We put forth a new string matching algorithm which matches the pattern from neither the left nor the right end, instead a special position. Comparing with the Knuth-Morris-Pratt algorithm and the Boyer-Moore algorithm, the new algorithm is more flexible to pick the position for starting comparisons. The option really brings it a saving in cost.

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

↑