首页> 外文会议>International Workshop on Combinatorial Algorithms >A New Algorithm for Efficient Pattern Matching with Swaps
【24h】

A New Algorithm for Efficient Pattern Matching with Swaps

机译:一种新的互换模式匹配算法

获取原文

摘要

The Pattern Matching problem with Swaps consists in finding all occurrences of a pattern P in a text T, when disjoint local swaps in the pattern are allowed. In this paper, we present a new efficient algorithm for the Swap Matching problem with short patterns. In particular, we devise a O(nm~2) general algorithm, named BACKWARD-CROSS-SAMPLING, and show an efficient implementation of it, based on bit-parallelism, which achieves O(nm) worst-case time and O(σ)-space complexity, with patterns whose length m is comparable to the word-size of the target machine (n and σ are respectively the size of the text and of the alphabet). From an extensive comparison with some of the most recent and effective algorithms for the swap matching problem, it turns out that our algorithm is very flexible and achieves very good results in practice.
机译:当允许允许在允许模式中不相交的本地交换时,互换的模式匹配问题在于在文本T中查找文本T中的所有出现。在本文中,我们提出了一种新的高效算法,短图案的交换匹配问题。特别是,我们设计了一个名为后向交叉采样的O(nm〜2)一般算法,并基于位并行性地显示了它的有效实现,这实现了O(nm)最坏情况的时间和o(σ ) - 空间复杂性,其长度M与目标机器的字大小相当的模式(n和σ分别是文本和字母的大小)。从与一些最新且有效的算法的广泛比较,事实证明,我们的算法非常灵活,在实践中实现了非常好的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号