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

基于熵界的不匹配字符串快速字典查找

Fast entropy-bounded string dictionary look-up with mismatches

Paweł Gawrychowski, Gad M. Landau, Tatiana Starikovskaya

摘要:

我们重新审视字典查找与不匹配的基本问题。给定一个长度为$m$的$d$字符串集合(字典)和一个整数$k$,我们必须将其预处理成一个数据结构来回答以下查询:给定一个长度为$m$的查询字符串$Q$,查找字典中距离$Q$至多为$k$的所有字符串。Chan和Lewenstein(CPM 2015)展示了一种具有最佳查询时间的$k = 1$的数据结构$O(m/w + occ)$,其中$w$是机器字的大小,$occ$是输出的大小。数据结构占用了$O(w d \log^{1+\varepsilon} d)$额外的空间位(超出了存储字典字符串所需的熵界空间)。在这项工作中,我们给出了一个解决方案,类似的范围更广泛的值$k$。也就是说,我们给出了一个数据结构,有$O(m/w + \log^k d + occ)$查询时间,并使用$O(w d \log^k d)$额外的空间位。

英文摘要:

We revisit the fundamental problem of dictionary look-up with mismatches. Given a set (dictionary) of $d$ strings of length $m$ and an integer $k$, we must preprocess it into a data structure to answer the following queries: Given a query string $Q$ of length $m$, find all strings in the dictionary that are at Hamming distance at most $k$ from $Q$. Chan and Lewenstein (CPM 2015) showed a data structure for $k = 1$ with optimal query time $O(m/w + occ)$, where $w$ is the size of a machine word and $occ$ is the size of the output. The data structure occupies $O(w d \log^{1+\varepsilon} d)$ extra bits of space (beyond the entropy-bounded space required to store the dictionary strings). In this work we give a solution with similar bounds for a much wider range of values $k$. Namely, we give a data structure that has $O(m/w + \log^k d + occ)$ query time and uses $O(w d \log^k d)$ extra bits of space.

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

↑