On Rotations and the Generation of Binary Trees. Lucas, J. M., Vanbaronaigien, D., & Ruskey, F. Journal of Algorithms, 15(3):343--366, November, 1993.
On Rotations and the Generation of Binary Trees [link]Paper  doi  abstract   bibtex   
The rotation graph, Gn, has vertex set consisting of all binary trees with n nodes. Two vertices are connected by an edge if a single rotation will transform one tree into the other. We provide a simpler proof of a result of Lucas that Gn, contains a Hamilton path. Our proof deals directly with the pointer representation of the binary tree. This proof provides the basis of an algorithm for generating all binary trees that can be implemented to run on a pointer machine and to use only constant time between the output of successive trees. Ranking and unranking algorithms are developed for the ordering of binary trees implied by the generation algorithm. These algorithms have time complexity O(n2) (arithmetic operations). We also show strong relationships amongst various representations of binary trees and amongst binary tree generation algorithms that have recently appeared in the literature.
@article{ Lucas1993,
  abstract = {The rotation graph, Gn, has vertex set consisting of all binary trees with n nodes. Two vertices are connected by an edge if a single rotation will transform one tree into the other. We provide a simpler proof of a result of Lucas that Gn, contains a Hamilton path. Our proof deals directly with the pointer representation of the binary tree. This proof provides the basis of an algorithm for generating all binary trees that can be implemented to run on a pointer machine and to use only constant time between the output of successive trees. Ranking and unranking algorithms are developed for the ordering of binary trees implied by the generation algorithm. These algorithms have time complexity O(n2) (arithmetic operations). We also show strong relationships amongst various representations of binary trees and amongst binary tree generation algorithms that have recently appeared in the literature.},
  author = {Lucas, Joan M. and Vanbaronaigien, D.R. and Ruskey, Frank},
  doi = {10.1006/jagm.1993.1045},
  file = {:Users/KunihiroWASA/Dropbox/paper/1993/Lucas, Vanbaronaigien, Ruskey, On Rotations and the Generation of Binary Trees, 1993(2).pdf:pdf},
  issn = {01966774},
  journal = {Journal of Algorithms},
  month = {November},
  number = {3},
  pages = {343--366},
  title = {{On Rotations and the Generation of Binary Trees}},
  url = {http://www.sciencedirect.com/science/article/pii/S019667748371045X http://linkinghub.elsevier.com/retrieve/pii/S019667748371045X},
  volume = {15},
  year = {1993}
}

Downloads: 0