arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1705.04022cs.DS
收藏

序列1-可映射性的快速算法

Faster algorithms for 1-mappability of a sequence

Mai Alzamel, Panagiotis Charalampopoulos, Costas S. Iliopoulos, Solon P. Pissis, Jakub Radoszewski, Wing-Kin Sung

摘要:

在k-可映射性问题中,我们给定一个长度为n的字符串x以及整数m和k,我们被要求对x的每个长度为m的因子y计算x的其他长度为m的因子的个数,这些因子与y的汉明距离最多为k。我们在这里集中讨论k = 1的问题。对于k = 1,已知的最快算法需要时间O(mn log n/ log log n)和空间O(n)。我们提出了两个算法,它们分别需要O(mn)和O(nlog^2 n)的最坏情况时间和O(n)的空间,从而极大地改进了现有技术.此外,我们还提出了一个算法,当m = Ω(logn/ log σ)时,对于整数字母表,平均需要O(n)的时间和空间,其中σ是字母表的大小.

英文摘要:

In the k-mappability problem, we are given a string x of length n and integers m and k, and we are asked to count, for each length-m factor y of x, the number of other factors of length m of x that are at Hamming distance at most k from y. We focus here on the version of the problem where k = 1. The fastest known algorithm for k = 1 requires time O(mn log n/ log log n) and space O(n). We present two algorithms that require worst-case time O(mn) and O(n log^2 n), respectively, and space O(n), thus greatly improving the state of the art. Moreover, we present an algorithm that requires average-case time and space O(n) for integer alphabets if m = Ω(log n/ log σ), where σ is the alphabet size.

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

↑