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

多道字符串上全排列模式匹配问题的一种简化

A Simple Reduction for Full-Permuted Pattern Matching Problems on Multi-Track Strings

Carl Barton, Ewan Birney, Tomas Fitzgerald

摘要:

在本文中,我们研究了字符串模式匹配的一个变种,它处理元组的字符串称为\textit{multi-track strings}。多轨字符串是字符串(或\textit{single-track strings})的概括,主要用于与搜索多个基因组和音乐信息检索相关的问题。具有长度$n$和轨道计数$N$的多轨道串$\mathcal{T} = (t_1, t_2, t_3, \ldots , t_N)$是具有从大小为$σ_U$的公共字母表中提取的字符的长度为$n$的$N$串的多集合。给定两个多轨道串$\mathcal{T} = (t_1, t_2, t_3, \ldots , t_N)$和$ \mathcal{P} = (p_1, p_2, p_3, \ldots , p_N)$,其长度为$n$,轨道计数为$N$,如果对于所有$i \in \{1,2,3,\ldots N \}$的$t_{r_i} = p_i$和$(1, 2, 3,\ldots,N)$的某个置换$(r_1, r_2, r_3\ldots,r_N)$,则在$\mathcal{P}$和$\mathcal{T}$之间存在一个\textit{full-permuted-match},我们将该$\mathcal{P}\asymp\mathcal{T}$表示为$\mathcal{P}\asymp\mathcal{T}$。最近提出了解决多轨字符串上一些完全排列匹配问题的有效算法。在本文中,我们展示了一个减少从一个多轨道字符串的长度$n$和轨道计数$N$与字母表大小$σ_U$,到一个单轨道字符串的长度$2n-1$与字母表大小$σ_U^N$。通过这种减少,我们允许任何字符串算法使用$\asymp$作为匹配关系的多轨字符串问题。对于长度为$n$的单轨道字符串的多项式时间算法,对于长度为$n$和轨道计数为$N$的mt-字符串的相同算法,存在不超过$\mathcal{O}(N)$ -时间的乘法惩罚。

英文摘要:

In this paper we study a variant of string pattern matching which deals with tuples of strings known as \textit{multi-track strings}. Multi-track strings are a generalisation of strings (or \textit{single-track strings}) that have primarily found uses in problems related to searching multiple genomes and music information retrieval. A multi-track string $\mathcal{T} = (t_1, t_2, t_3, \ldots , t_N)$ of length $n$ and track count $N$ is a multi-set of $N$ strings of length $n$ with characters drawn from a common alphabet of size $σ_U$. Given two multi-track strings $\mathcal{T} = (t_1, t_2, t_3, \ldots , t_N)$ and $ \mathcal{P} = (p_1, p_2, p_3, \ldots , p_N)$ of length $n$ and track count $N$, there is a \textit{full-permuted-match} between $\mathcal{P}$ and $\mathcal{T}$ if $t_{r_i} = p_i$ for all $i \in \{1,2,3,\ldots N \}$ and some permutation $(r_1, r_2, r_3\ldots,r_N)$ of $(1, 2, 3,\ldots,N)$, we denote this $\mathcal{P}\asymp\mathcal{T}$. Efficient algorithms for some full-permuted-match problems on multi-track strings have recently been presented. In this paper we show a reduction from a multi-track string of length $n$ and track count $N$ with alphabet size $σ_U$, to a single-track string of length $2n-1$ with alphabet size $σ_U^N$. Through this reduction we allow any string algorithm to be used on multi-track string problems using $\asymp$ as the match relation. For polynomial time algorithms on single-track strings of length $n$ there is a multiplicative penalty of not more than $\mathcal{O}(N)$-time for the same algorithm on mt-strings of length $n$ and track count $N$.

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

↑