© 1986 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Enumerating, Ranking and Unranking Binary Trees
Departement d'Informatique, Universite de Dijon, Bp 138, F21004 Dijon, France
We introduce weight sequences, which are sequences of positive integers characterising binary trees, in order to generate lexicographically binary trees as a list. Algorithms are developed to determine the position of a given weight sequence, and to generate the weight sequence of a given position. We also use weight sequences in order to study a transformation on binary trees. Furthermore, we make a link with term rewriting systems.
Received January 1984.
* Département d'Informatique, Université de Dijon, Bp 138, F21004