Paper record
W2076376787Constant Time Generation of Rooted Trees
Terry Beyer, Sandra M. Hedetniemi
- Year
- 1980
- Venue
- SIAM Journal on Computing
- References
- 7
- Cited by
- 125
Details and counts from OpenAlex.
Abstract
This paper generalizes a result of Ruskey [SIAM J. Comput., 7(1978), pp. 424–439] for generating k-ary trees lexicographically to generating all rooted trees with n vertices. An algorithm is presented which generates canonical representations of these trees in a well-defined order. As in other works, the average number of steps per tree is constant.