Generating t-ary trees in A-order. van Baronaigien, D. & Ruskey, F. Information Processing Letters, 27(4):205--213, April, 1988.
Generating t-ary trees in A-order [link]Paper  doi  abstract   bibtex   
Two ‘natural’ orders have been defined on the set of t-ary trees. Zaks (1980) referred to these orders as A-order and B-order. Many algorithms have been developed for generating binary and t-ary trees in B-order. Here we develop an algorithm for generating all t-ary trees with n nodes in (reverse) A-order, as well as ranking and unranking algorithms. The generation algorithm produces each tree in constant average time. The analysis of the generation algorithm makes use of an interesting bijection on the set of t-ary trees. The ranking algorithm runs in O(tn) time and the unranking algorithm in O(tn lg n) time.
@article{ VanBaronaigien1988,
  abstract = {Two ‘natural’ orders have been defined on the set of t-ary trees. Zaks (1980) referred to these orders as A-order and B-order. Many algorithms have been developed for generating binary and t-ary trees in B-order. Here we develop an algorithm for generating all t-ary trees with n nodes in (reverse) A-order, as well as ranking and unranking algorithms. The generation algorithm produces each tree in constant average time. The analysis of the generation algorithm makes use of an interesting bijection on the set of t-ary trees. The ranking algorithm runs in O(tn) time and the unranking algorithm in O(tn lg n) time.},
  author = {van Baronaigien, D.Roelants and Ruskey, Frank},
  doi = {10.1016/0020-0190(88)90027-0},
  file = {:Users/KunihiroWASA/Dropbox/paper/1988/van Baronaigien, Ruskey, Generating t-ary trees in A-order, 1988.pdf:pdf},
  issn = {00200190},
  journal = {Information Processing Letters},
  keywords = {A-order,bijection,combinatorial generation,ranking,t-ary tree},
  month = {April},
  number = {4},
  pages = {205--213},
  title = {{Generating t-ary trees in A-order}},
  url = {http://www.sciencedirect.com/science/article/pii/0020019088900270},
  volume = {27},
  year = {1988}
}

Downloads: 0