中文

CDAWG 中的快速标签提取

数据结构与算法 2017-09-27 v2

摘要

长度为 nn 的字符串 TT 的紧凑有向无环词图(CDAWG)所占空间仅与 TT 的最大重复的右扩展数 ee 成正比,因此对于高度重复的数据集(如来自相似物种的基因组集合)而言,它是一个极具吸引力的索引,在这类数据集中 ee 的增长速度显著慢于 nn。利用一个所占空间与 CDAWG 大小成正比的数据结构,我们将统计长度为 mm 的模式出现次数所需的时间从 O(mloglogn)O(m\log{\log{n}}) 降至 O(m)O(m)。这意味着定位模式所有 occ\mathtt{occ} 次出现所需的时间从 O(mloglogn+occ)O(m\log{\log{n}}+\mathtt{occ}) 降至 O(m+occ)O(m+\mathtt{occ})。我们还将读取 TT 的后缀树的一条边的标签的 kk 个字符所需的时间从 O(kloglogn)O(k\log{\log{n}}) 降至 O(k)O(k),并利用基于 CDAWG 的后缀树现有表示,将计算长度为 mm 的查询与 TT 之间的匹配统计量所需的时间从 O(mloglogn)O(m\log{\log{n}}) 降至 O(m)O(m)。所有这些改进都源于使用由逆 CDAWG 导出的直线程序来提取 CDAWG 的顶点或弧的标签。

关键词

引用

@article{arxiv.1707.08197,
  title  = {Fast Label Extraction in the CDAWG},
  author = {Djamal Belazzougui and Fabio Cunial},
  journal= {arXiv preprint arXiv:1707.08197},
  year   = {2017}
}

备注

16 pages, 1 figure. In proceedings of the 24th International Symposium on String Processing and Information Retrieval (SPIRE 2017). arXiv admin note: text overlap with arXiv:1705.08640