首页> 外文会议>Proceedings of the 1990 ACM annual conference on Cooperation >Transformations between tree permutations and inversion tables
【24h】

Transformations between tree permutations and inversion tables

机译:树排列和反转表之间的转换

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

摘要

Associated with each permutation P = [x(1),x(2), … ,x(N)] of N (ordered) objects is its inversion table I(P) = {y(1),y(2), … ,y(N)}, a sequence of non-negative integers such that y(1) = 0 and, for i 1, y(i) is the number of terms in {x(1), x(2), … ,x(i-1)} which are greater than or follow the term x(i).

rn

A tree permutation is a permutation whose inversion table {y(1), … ,y(N)} has the property that y(i+1) - y(i) is less than 2 for i = 1, 2, … , N-1; such an inversion table is called a 2-inversion table. Tree permutations of {1, 2, … , N} are used to represent binary trees having N nodes. O(N) time algorithms are given for converting tree permutations into their associated 2-inversion tables and vice-versa.

机译:

与每个排列的N个(有序)对象的P = [x(1),x(2),…,x(N)]相关联的是其反转表I(P)= {y(1),y( 2),…,y(N)},一个非负整数的序列,使得y(1)= 0,并且对于i> 1,y(i)是{x(1),x中的项数(2),…,x(i-1)}大于或跟随项x(i)。 rn

树排列是其反转表{y(1),…的排列。 ,y(N)}具有以下性质:对于i = 1、2,...,N-1,y(i + 1)-y(i)小于2;这样的反转表称为2反转表。 {1、2,...,N}的树排列用于表示具有N个节点的二叉树。给出了O(N)时间算法,将树排列转换为与其相关的2-反演表,反之亦然。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号