On the loopless generation of binary tree sequences

被引:37
作者
Vajnovszki, V [1 ]
机构
[1] Univ Bourgogne, LE2I, F-21011 Dijon, France
关键词
loopless generating algorithms; binary tree sequences; combinatorial problems; design of algorithms;
D O I
10.1016/S0020-0190(98)00155-0
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Weight sequences were introduced by Pallo in 1986 for coding binary trees and he presented a constant amortized time algorithm for their generation in lexicographic order. A year later, Roelants van Baronaigien and Ruskey developed a recursive constant amortized time algorithm for generating Gray code for binary trees in Pallo's representation. It is common practice to find a loopless generating algorithm for a combinatorial object when enunciating a Gray code for this object. In this paper we regard weight sequences as variations and apply a Williamson algorithm in order to obtain a loopless generating algorithm for the Roelants van Baronaigien and Ruskey's Gray code for weight sequences. (C) 1998 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:113 / 117
页数:5
相关论文
共 14 条
[1]  
Gill Williamson S., 1985, COMBINATORICS COMPUT
[2]   A GRAY CODE FOR THE IDEALS OF A FOREST POSET [J].
KODA, Y ;
RUSKEY, F .
JOURNAL OF ALGORITHMS, 1993, 15 (02) :324-340
[3]   LOOPLESS GENERATION OF K-ARY TREE SEQUENCES [J].
KORSH, JF .
INFORMATION PROCESSING LETTERS, 1994, 52 (05) :243-247
[4]   ON ROTATIONS AND THE GENERATION OF BINARY-TREES [J].
LUCAS, JM ;
VANBARONAIGIEN, DR ;
RUSKEY, F .
JOURNAL OF ALGORITHMS, 1993, 15 (03) :343-366
[5]  
LUCAS JM, 1988, J ALGORITHM, V9, P503
[6]  
MIKAWA K, 1997, P CATS 97
[7]   ENUMERATING, RANKING AND UNRANKING BINARY-TREES [J].
PALLO, JM .
COMPUTER JOURNAL, 1986, 29 (02) :171-175
[8]   GENERATING BINARY-TREES BY TRANSPOSITIONS [J].
RUSKEY, F ;
PROSKUROWSKI, A .
JOURNAL OF ALGORITHMS, 1990, 11 (01) :68-84
[9]  
Ruskey F., 1987, C NUMER, V59, P313
[10]  
Vajnovski V., 1998, Parallel Processing Letters, V8, P19, DOI 10.1142/S0129626498000055