We propose a B tree representation storing $n$ keys, each of $k$ bits, in either (a) $nk + O(nk / \lg n)$ bits or (b) $nk + O(nk \lg \lg n/ \lg n)$ bits of space supporting all B tree operations in either (a) $O(\lg n )$ time or (b) $O(\lg n / \lg \lg n)$ time, respectively. We can augment each node with an aggregate value such as the minimum value within its subtree, and maintain these aggregate values within the same space and time complexities. Finally, we give the sparse suffix tree as an application, and present a linear-time algorithm computing the sparse longest common prefix array from the suffix AVL tree of Irving et al. [JDA'2003].


翻译:我们建议使用B树表示方式,以(a) $nk + O(nk /\ lg n) 位元或(b) $nk + O(nk\ lg n/\ lg n/\ lg n) 位元,以(a) $(lgn) 时间或(b) $(lgn n /\ lg\ lg n) 时间分别储存美元键,以(a) $nk + O(nk /\ lg n) 位元,或(b) 美元(nk + O(nk / \ lg n) 位元) 位或(b) 美元。我们可以以其子树内的最低值来增加每个节点,并在相同的空间和时间复杂度内保持这些综合值。最后,我们将稀树作为应用程序,并提出一个线时算,从Irving 和 al 等 的fix 等 树头数最短的普通前缀阵列阵列阵列。 [JDA'2003] 。

0
下载
关闭预览

相关内容

【2020新书】使用R和Python的高级BI分析,425页pdf
专知会员服务
35+阅读 · 2020年10月14日
专知会员服务
61+阅读 · 2020年3月19日
FlowQA: Grasping Flow in History for Conversational Machine Comprehension
专知会员服务
34+阅读 · 2019年10月18日
LeetCode的C++ 11/Python3 题解及解释
专知
16+阅读 · 2019年4月13日
RL 真经
CreateAMind
5+阅读 · 2018年12月28日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
Arxiv
0+阅读 · 2021年6月10日
Arxiv
0+阅读 · 2021年6月9日
Arxiv
0+阅读 · 2021年6月8日
VIP会员
相关VIP内容
相关资讯
LeetCode的C++ 11/Python3 题解及解释
专知
16+阅读 · 2019年4月13日
RL 真经
CreateAMind
5+阅读 · 2018年12月28日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
相关论文
Top
微信扫码咨询专知VIP会员