...
首页> 外文期刊>IEICE Transactions on Information and Systems >Ranking and Unranking of t-Ary Trees Using RD-Sequences
【24h】

Ranking and Unranking of t-Ary Trees Using RD-Sequences

机译:使用RD序列对t-Ary树进行排名和取消排名

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

摘要

In this paper, we introduce a concise representation, called right-distance sequences (or RD-sequences for short), to describe all t-ary trees with n internal nodes. A result reveals that there exists a close relationship between the representation and the well-formed sequences suggested by Zaks [Lexicographic generation of ordered trees, Theoretical Computer Science 10 (1980) 63-82]. Using a coding tree and its concomitant tables, a systematical way can help us to investigate the structural representation of t-ary trees. Consequently, we develop efficient algorithms for determining the rank of a given f-ary tree in lexicographic order (i.e., a ranking algorithm), and for converting a positive integer to its corresponding RD-sequence (i.e., an unranking algorithm). Both the ranking and unranking algorithms can be run in O(tn) time and without computing all the entries of the coefficient table.
机译:在本文中,我们介绍了一种简洁的表示形式,称为右距离序列(或简称RD序列),用于描述具有n个内部节点的所有三进制树。结果表明,在表示和Zaks提出的格式良好的序列之间存在紧密的关系[有序树的词典编纂,Theoretical Computer Science 10(1980)63-82]。使用编码树及其伴随表,一种系统的方法可以帮助我们研究三元树的结构表示。因此,我们开发了有效的算法,用于按字典顺序确定给定fary树的等级(即排名算法),并将正整数转换为其对应的RD序列(即取消排名算法)。排名算法和非排名算法都可以在O(tn)时间内运行,而无需计算系数表的所有条目。

著录项

  • 来源
    《IEICE Transactions on Information and Systems 》 |2011年第2期| p.226-232| 共7页
  • 作者单位

    Department of Industrial Management, Lunghwa University of Science and Technology, Taoyuan, Taiwan, ROC;

    rnInstitute of Information Science and Management, National Taipei College of Business, Taipei, Taiwan, ROC;

    rnDepartment of Information Management, National Taiwan University of Science and Technology, Taipei, Taiwan, ROC;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    t-ary trees; ranking; unranking; lexicographic order; coding trees;

    机译:三元树;排行;等级字典顺序;编码树;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号