Enumerating Ordered Trees Lexicographically. Er, M. C. The Computer Journal, 28(5):538--542, May, 1985.
Enumerating Ordered Trees Lexicographically [link]Paper  doi  abstract   bibtex   
A 1-1 mapping between the set of extended ordered trees with n internal nodes and the set of feasible binary bit-patterns with 2n bits is established. By manipulating the feasible bit-patterns, the set of ordered trees with n nodes can be enumerated lexicographically. The ranking and unranking functions are also described. It has been shown that the bit-pattern representation of ordered trees leads to simple construction and easy understanding of the enumerating, ranking and unranking algorithms.
@article{ Er1985,
  abstract = {A 1-1 mapping between the set of extended ordered trees with n internal nodes and the set of feasible binary bit-patterns with 2n bits is established. By manipulating the feasible bit-patterns, the set of ordered trees with n nodes can be enumerated lexicographically. The ranking and unranking functions are also described. It has been shown that the bit-pattern representation of ordered trees leads to simple construction and easy understanding of the enumerating, ranking and unranking algorithms.},
  author = {Er, M. C.},
  doi = {10.1093/comjnl/28.5.538},
  file = {:Users/KunihiroWASA/Dropbox/paper/1985/Er, Enumerating Ordered Trees Lexicographically, 1985.pdf:pdf},
  issn = {0010-4620},
  journal = {The Computer Journal},
  month = {May},
  number = {5},
  pages = {538--542},
  title = {{Enumerating Ordered Trees Lexicographically}},
  url = {http://comjnl.oxfordjournals.org/content/28/5/538.abstract http://comjnl.oxfordjournals.org/content/28/5/538.short http://comjnl.oupjournals.org/cgi/doi/10.1093/comjnl/28.5.538},
  volume = {28},
  year = {1985}
}

Downloads: 0