A Gray Code of Ordered Trees

被引:0
|
作者
Nakano, Shin-ichi [1 ]
机构
[1] Gunma Univ, Kiryu 3768515, Japan
关键词
GENERATION;
D O I
10.1007/978-981-97-2340-9_3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A combinatorial Gray code for a set of combinatorial objects is a sequence of all combinatorial objects in the set so that each object is derived from the preceding object by changing a small part. In this paper we design a Gray code for ordered trees with n vertices such that each ordered tree is derived from the preceding ordered tree by removing a leaf then appending a leaf elsewhere. Thus, the change is just remove-and-append a leaf, which is of minimum size.
引用
收藏
页码:26 / 37
页数:12
相关论文
共 50 条
  • [1] A Loopless Gray Code for Rooted Trees
    Korsh, James
    Lafollette, Paul
    ACM TRANSACTIONS ON ALGORITHMS, 2006, 2 (02) : 135 - 152
  • [2] A Pivot Gray Code Listing for the Spanning Trees of the Fan Graph
    Cameron, Ben
    Grubb, Aaron
    Sawada, Joe
    COMPUTING AND COMBINATORICS (COCOON 2021), 2021, 13025 : 49 - 60
  • [3] A loopless Gray-code algorithm for listing k-ary trees
    van Baronaigien, DR
    JOURNAL OF ALGORITHMS, 2000, 35 (01) : 100 - 107
  • [4] Ranking and Unranking of Non-regular Trees in Gray-Code Order
    Wu, Ro-Yu
    Chang, Jou-Ming
    Chen, An-Hang
    Ko, Ming-Tat
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2013, E96A (06) : 1059 - 1065
  • [5] A loopless algorithm for generating (k, m)-ary trees in Gray code order
    Yu-Hsuan Chang
    Ro-Yu Wu
    Cheng-Kuan Lin
    Jou-Ming Chang
    Optimization Letters, 2021, 15 : 1133 - 1154
  • [6] Ranking and Unranking t-ary Trees in a Gray-Code Order
    Wu, Ro-Yu
    Chang, Jou-Ming
    Chen, An-Hang
    Liu, Chun-Liang
    COMPUTER JOURNAL, 2013, 56 (11): : 1388 - 1395
  • [7] A loopless algorithm for generating (k, m)-ary trees in Gray code order
    Chang, Yu-Hsuan
    Wu, Ro-Yu
    Lin, Cheng-Kuan
    Chang, Jou-Ming
    OPTIMIZATION LETTERS, 2021, 15 (04) : 1133 - 1154
  • [8] A bijection between ordered trees and bicoloured ordered trees
    Liu, Chunlin
    Wang, Zhenghua
    DISCRETE MATHEMATICS, 2009, 309 (06) : 1417 - 1421
  • [9] The Gray code
    Doran, Robert W.
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2007, 13 (11) : 1573 - 1597
  • [10] Code Gray
    Jansen, Richard K.
    ANESTHESIOLOGY, 2017, 126 (02) : 346 - 347