...
首页> 外文期刊>Algorithmica >Succinct and I/O Efficient Data Structures for Traversal in Trees
【24h】

Succinct and I/O Efficient Data Structures for Traversal in Trees

机译:树中遍历的简洁和I / O高效数据结构

获取原文
获取原文并翻译 | 示例
           

摘要

We present two results for path traversal in trees, where the traversal is performed in an asymptotically optimal number of I/Os and the tree structure is represented succinctly. Our first result is for bottom-up traversal that starts with a node in a tree on N nodes and traverses a path to the root. We show how a tree T on N nodes with q-bh keys, where q = O(lg N), can be blocked in a succinct fashion such that a bottom-up traversal requires O(K/B + 1) I/Os using only (2 + q)N + q · [2τN(q+2lg B/w)+ o(N)] + 8τNlg B/w bits to store T for any constant 0 < t < 1, where K is the path length and w is the word size. This data structure is succinct because the above space cost is at most (2 -I- q)N + q · (r)N + o(N)) bits for any arbitrarily selected constant, r, such that 0 < t) < 1. When storing keys with tree nodes is not required, we can represent T in 2N + ∈NlgB/w+ o(N) bits, where ∈ is an arbitrarily selected constant such that 0 < e < 1, while providing the same support for queries. Our second result is for top-down traversal in binary trees. We store the tree in (3 + q)N + o(N) bits, while top-down traversal can still be performed in an asymptotically optimal number of I/Os.
机译:我们给出了树中路径遍历的两个结果,其中遍历以渐近最佳I / O数执行,并且树结构简洁地表示。我们的第一个结果是自下而上的遍历,该遍历从N个节点上的树中的一个节点开始,并遍历到根的路径。我们展示了如何用简洁的方式阻止N个具有q-bh键的节点上的树T,其中q = O(lg N),以便自下而上的遍历需要O(K / B + 1)I / O仅使用(2 + q)N + q·[2τN(q + 2lg B / w)+ o(N)] +8τNlgB / w位来存储任意常数0

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号