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

模式与文本之间的一般度量距离的近似

Approximating General Metric Distances Between a Pattern and a Text

Klim Efremenko, Ely Porat

摘要:

令$T=t_0 ... t_{n-1}$为文本,$P = p_0 ... p_{m-1}$为从某个有限字母集$Σ$中获取的模式,令$\dist$为$Σ$上的度量。我们考虑的问题计算之间的距离和符号的$P$和符号的子串的$T$的长度$m$的所有可能的偏移量的距离。我们提出了一个在时间上运行的$ε$ -近似算法$O(\frac{1}{ε^2}n\cdot \mathrm{polylog}(n,\absΣ))$

英文摘要:

Let $T=t_0 ... t_{n-1}$ be a text and $P = p_0 ... p_{m-1}$ a pattern taken from some finite alphabet set $Σ$, and let $\dist$ be a metric on $Σ$. We consider the problem of calculating the sum of distances between the symbols of $P$ and the symbols of substrings of $T$ of length $m$ for all possible offsets. We present an $ε$-approximation algorithm for this problem which runs in time $O(\frac{1}{ε^2}n\cdot \mathrm{polylog}(n,\absΣ))$

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

↑