计算机科学 > 数据结构与算法
[提交于 2012年11月22日]
标题:Faster Compact Top-k Document Retrieval
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:An optimal index solving top-k document retrieval [Navarro and Nekrich, SODA12] takes O(m + k) time for a pattern of length m, but its space is at least 80n bytes for a collection of n symbols. We reduce it to 1.5n to 3n bytes, with O(m+(k+log log n) log log n) time, on typical texts. The index is up to 25 times faster than the best previous compressed solutions, and requires at most 5% more space in practice (and in some cases as little as one half). Apart from replacing classical by compressed data structures, our main idea is to replace suffix tree sampling by frequency thresholding to achieve compression.
提交历史
来自:Roberto Konow[v1] 2012年11月22日 星期四 18:58:27 UTC