arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.02807cs.DScs.IR
收藏

灵活高效的字符串阿贝尔匹配算法

Flexible and Efficient Algorithms for Abelian Matching in Strings

Simone Faro, Arianna Pavone

摘要:

阿贝尔模式匹配问题在于找到文本的所有子串,这些子串是给定模式的排列。这个问题在许多领域都有应用,并且可以通过简单的滑动窗口方法在线性时间内解决。在这篇简短的通讯中,我们提出了一类新的算法,基于一种新的高效的指纹计算方法,称为堆计数,它被证明是快速,灵活和易于实现。可以证明,我们的解决方案具有线性最坏情况下的时间复杂度,此外,我们提出了一个广泛的实验评估表明,我们新提出的算法是最有效和灵活的解决方案,在实践中的阿贝尔匹配问题的字符串。

英文摘要:

The abelian pattern matching problem consists in finding all substrings of a text which are permutations of a given pattern. This problem finds application in many areas and can be solved in linear time by a naive sliding window approach. In this short communication we present a new class of algorithms based on a new efficient fingerprint computation approach, called Heap-Counting, which turns out to be fast, flexible and easy to be implemented. It can be proved that our solutions have a linear worst case time complexity and, in addition, we present an extensive experimental evaluation which shows that our newly presented algorithms are among the most efficient and flexible solutions in practice for the abelian matching problem in strings.

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

↑