Generation of rooted trees and free trees
| dc.contributor.author | Li, Gang | en_US |
| dc.date.accessioned | 2024-08-14T21:03:35Z | |
| dc.date.available | 2024-08-14T21:03:35Z | |
| dc.date.copyright | 1996 | en_US |
| dc.date.issued | 1996 | |
| dc.degree.department | Department of Computer Science | |
| dc.degree.level | Master of Science M.Sc. | en |
| dc.description.abstract | In this thesis we present two new recursive algorithms for generating unlabeled rooted trees and unlabeled free trees . We first simplify Beyer-Hedetniemi's [5] iterative algorithm for generating rooted trees by using the more natural parent array representation. We then develop a new recursive algorithm which is much simpler, more flexible and easier to analyze. With some simple modifications, our algorithm will generate rooted trees of size n with height lying in a given range and/or with the number of children of each node bounded by a given integer. Our recursive algorithm for generating rooted trees is then extended to generate free trees . We also show how to make some simple modifications to generate free trees with some height constraints and/or with a degree restriction. Both algorithms and their modifications run in constant amortized time which is the best possible. | |
| dc.format.extent | 82 pages | |
| dc.identifier.uri | https://hdl.handle.net/1828/18651 | |
| dc.rights | Available to the World Wide Web | en_US |
| dc.title | Generation of rooted trees and free trees | en_US |
| dc.type | Thesis | en_US |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- LI_Gang_MSC_1996_697906.pdf
- Size:
- 20.49 MB
- Format:
- Adobe Portable Document Format