计算机科学 > 数据结构与算法
[提交于 2013年1月28日]
标题:Engineering Small Space Dictionary Matching
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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
提交历史
来自:Shoshana Marcus[v1] 2013年1月28日 星期一 02:25:33 UTC