Wheeler DFA的LCP数组的时空权衡
Space-time Trade-offs for the LCP Array of Wheeler DFAs
AI总结:
针对Wheeler DFA的LCP数组存储占用高的问题,提出仅需线性比特、对数时间访问的采样技术,实现匹配统计计算的时空权衡,并改进了变阶德布鲁因图遍历的时间界。
摘要:
近期,Conte等人将最长公共前缀(longest-common prefix,LCP)数组从字符串推广到Wheeler DFA,并证明该数组可用于高效求解Wheeler DFA上的匹配统计量[DCC 2023]。然而,存储LCP数组需要$O(n \log n)$比特,其中$n$为状态数,而Wheeler DFA的紧凑表示所需空间通常少得多。具体而言,若字母表大小为常数,德布鲁因图(de Bruijn graph)的BOSS表示仅需要线性数量的比特。\n本文提出一种采样技术,仅存储线性数量的比特,即可在对数时间内访问LCP数组的任意表项。我们利用该技术为Wheeler DFA上的匹配统计量计算提供了一种时空权衡方案。此外,我们证明,通过为$k$阶德布鲁因图的BOSS表示增加线性数量的比特,我们可以在关于$k$的对数时间内遍历底层的变阶德布鲁因图,从而改进了Boucher等人此前提出的关于$k$的线性时间界[DCC 2015]。
英文摘要:
Recently, Conte et al. generalized the longest-common prefix (LCP) array from strings to Wheeler DFAs, and they showed that it can be used to efficiently determine matching statistics on a Wheeler DFA [DCC 2023]. However, storing the LCP array requires $ O(n \log n) $ bits, $ n $ being the number of states, while the compact representation of Wheeler DFAs often requires much less space. In particular, the BOSS representation of a de Bruijn graph only requires a linear number of bits, if the size of alphabet is constant. In this paper, we propose a sampling technique that allows to access an entry of the LCP array in logarithmic time by only storing a linear number of bits. We use our technique to provide a space-time trade-off to compute matching statistics on a Wheeler DFA. In addition, we show that by augmenting the BOSS representation of a $ k $-th order de Bruijn graph with a linear number of bits we can navigate the underlying variable-order de Bruijn graph in time logarithmic in $ k $, thus improving a previous bound by Boucher et al. which was linear in $ k $ [DCC 2015].
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。