arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1309.1981cs.DS
收藏

再论交换匹配问题

The Swap Matching Problem Revisited

Pritom Ahmed, Costas S. Iliopoulos, A. S. M. Sohidull Islam, M. Sohel Rahman

摘要:

在本文中,我们重新研究的模式匹配交换问题(交换匹配问题,简称)。我们首先提出了一个图论模型,它开辟了一个新的和迄今为止尚未探索的途径来解决这个问题。然后,利用该模型,我们设计了两个有效的算法来解决交换匹配问题。由此产生的算法是经典的移位与算法的改编。对于具有类似于目标机器的单词大小的长度的模式,考虑到固定的字母表,这两种算法都在线性时间内运行。

英文摘要:

In this paper, we revisit the much studied problem of Pattern Matching with Swaps (Swap Matching problem, for short). We first present a graph-theoretic model, which opens a new and so far unexplored avenue to solve the problem. Then, using the model, we devise two efficient algorithms to solve the swap matching problem. The resulting algorithms are adaptations of the classic shift-and algorithm. For patterns having length similar to the word-size of the target machine, both the algorithms run in linear time considering a fixed alphabet.

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

↑