A loopless algorithm for generating binary tree sequences
โ Scribed by D.Roelants van Baronaigien
- Publisher
- Elsevier Science
- Year
- 1991
- Tongue
- English
- Weight
- 719 KB
- Volume
- 39
- Category
- Article
- ISSN
- 0020-0190
No coin nor oath required. For personal study only.
๐ SIMILAR VOLUMES
The bit sequence representation for k-ary trees is a sequence b , b , . . . , b of bits that is formed by doing a preorder traversal of the k-ary tree and writing a 1 when the visited subtree is not empty and a zero when the visited subtree is empty. The representation is well known and in the cas
An ordered tree with specified degree sequence and n internal nodes has a i ลฝ . nodes of degree i, where a s 1 q ร i y 1 a and n s ร a . This paper presents the first loopless algorithm for generating all ordered trees with specified degree sequence. It uses a new version of the algorithm for gener