首页> 外文期刊>Journal of computer and system sciences >Ultra-succinct representation of ordered trees with applications
【24h】

Ultra-succinct representation of ordered trees with applications

机译:有序树的超简洁表示及其应用

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

摘要

There exist two well-known succinct representations of ordered trees: BP (balanced parenthesis) (Munro and Raman, 2001) [20] and DFUDS (depth first unary degree sequence) (Benoit et al., 2005) [1]. Both have size 2n + o(n) bits for n-node trees, which asymptotically matches the information-theoretic lower bound. Importantly, many fundamental operations on trees can be done in constant time on the word RAM when using BP or DFUDS, for example finding the parent, the first child, the next sibling, the number of descendants, etc. Although the space needed to store the BP or DFUDS representation of an ordered tree matches the lower bound, this is not optimal when we consider encodings for certain special classes of trees such as trees in which every internal node has exactly two children. In this paper, we introduce a new, conditional entropy for trees called the tree degree entropy, and give a succinct tree representation with matching size. We call such a representation an ultra-succinct data structure. We show how to modify the DFUDS representation to obtain a "compressed DFUDS", and as a consequence, a tree in which every internal node has exactly two children can be represented in n + o(n) bits. We also describe applications of the compressed DFUDS representation to ultra-succinct compressed suffix trees and labeled trees.
机译:有序树的两种众所周知的简洁表示形式:BP(平衡括号)(Munro和Raman,2001)[20]和DFUDS(深度一元深度序列)(Benoit等人,2005)[1]。两者的n节点树大小均为2n + o(n)位,渐近匹配信息论的下限。重要的是,当使用BP或DFUDS时,可以在RAM字上恒定时间对树执行许多基本操作,例如查找父级,第一个子级,下一个同级,后代数等。尽管需要存储空间如果有序树的BP或DFUDS表示与下限匹配,则当我们考虑对某些特殊类的树(例如,每个内部节点恰好有两个子树的树)进行编码时,这并不是最佳选择。在本文中,我们为树引入了一种新的条件熵,称为树度熵,并给出了具有匹配大小的简洁树表示。我们称这种表示为超简洁的数据结构。我们展示了如何修改DFUDS表示以获得“压缩的DFUDS”,因此,可以在n + o(n)位中表示其中每个内部节点恰好有两个子代的树。我们还描述了压缩DFUDS表示在超简洁压缩后缀树和标记树中的应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号