Labelled trees and pairs of input-output permutations in priority queues

被引:1
|
作者
Golin, M
Zaks, S [2 ]
机构
[1] Hong Kong Univ Sci & Technol, Dept Comp Sci, Kowloon, Peoples R China
[2] Technion Israel Inst Technol, Dept Comp Sci, IL-32000 Haifa, Israel
关键词
D O I
10.1016/S0304-3975(97)00037-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A sequence of priority queue operations can transform a permutation pi of n elements to some, but not necessarily all, permutations sigma. A recent result of Atkinson and Thiyagarajah (1993) stales that the number of distinct transformation pairs (pi, sigma) is (n + 1)(n-1). By Cayley)s theorem this is also the number of labelled trees with n + 1 nodes. We present a direct correspondence between labelled trees and transformation pairs and a linear time algorithm for constructing the tree corresponding to a pair of permutations along with related results. (C) 1998-Elsevier Science B.V. All rights reserved.
引用
收藏
页码:99 / 114
页数:16
相关论文
共 50 条