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

工程小空间字典匹配

Engineering Small Space Dictionary Matching

Shoshana Marcus Dina Sokol

摘要:

字典匹配问题是在给定文本中的一组模式中定位任何模式的出现。大量的数据集比比皆是,同时,有许多工作空间非常有限的设置。我们介绍了字典匹配软件的空间受限的环境,其运行时间接近线性。我们使用压缩的后缀树作为我们算法的底层数据结构,因此,我们的算法的工作空间与字典的最佳压缩成正比。我们还提供了一个简洁的工具,用于执行恒定时间的最低标记祖先查询的树,是简洁地编码为一个序列的平衡括号,与线性时间预处理的树。该工具在许多其他应用中应该是有用的。我们的源代码可以在http://www.sci.brooklyn.cuny.edu/~sokol/dictmatch.html上找到

英文摘要:

The dictionary matching problem is to locate occurrences of any pattern among a set of patterns in a given text. Massive data sets abound and at the same time, there are many settings in which working space is extremely limited. We introduce dictionary matching software for the space-constrained environment whose running time is close to linear. We use the compressed suffix tree as the underlying data structure of our algorithm, thus, the working space of our algorithm is proportional to the optimal compression of the dictionary. We also contribute a succinct tool for performing constant-time lowest marked ancestor queries on a tree that is succinctly encoded as a sequence of balanced parentheses, with linear time preprocessing of the tree. This tool should be useful in many other applications. Our source code is available at http://www.sci.brooklyn.cuny.edu/~sokol/dictmatch.html

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

↑