The advantages of forward thinking in generating rooted and free trees. Li, G. & Ruskey, F. In Proc. of ACM-SIAM Symposium on Discrete Algorithms (SODA 1999), pages 939–940, 1999. Society for Industrial and Applied Mathematics.
The advantages of forward thinking in generating rooted and free trees [link]Paper  abstract   bibtex   
We present a new approach to the exhaustive generation of rooted and free trees of n nodes. Our algorithms have the following features: (1) They are optimal in the sense of using linear space and having running times that are proportional to the number of trees produced. (2) They use a natural representation of the trees, the parent array. (3) They can generate the trees in many different orders, including reverse lexicographic order. (4) They are recursive, not iterative. (5) They can be easily modified to generate restricted classes of trees and still preserve prop erties (1)-(4). The possible restrictions are: (a) in the case of rooted trees, upper bounds on the number of children of a node and lower and upper bounds on the height of the tree; and (b) in the case of free trees, upper bounds on the degree of a node and lower and upper bounds on the diameter of the tree.
@InProceedings{li99advantages,
  author    = {Li, Gang and Ruskey, Frank},
  title     = {The advantages of forward thinking in generating rooted and free trees},
  booktitle = {Proc. of ACM-SIAM Symposium on Discrete Algorithms (SODA 1999)},
  year      = {1999},
  pages     = {939--940},
  publisher = {Society for Industrial and Applied Mathematics},
  abstract  = {We present a new approach to the exhaustive generation of rooted and free trees of n nodes. Our algorithms have the following features: (1) They are optimal in the sense of using linear space and having running times that are proportional to the number of trees produced. (2) They use a natural representation of the trees, the parent array. (3) They can generate the trees in many different orders, including reverse lexicographic order. (4) They are recursive, not iterative. (5) They can be easily modified to generate restricted classes of trees and still preserve prop erties (1)-(4). The possible restrictions are: (a) in the case of rooted trees, upper bounds on the number of children of a node and lower and upper bounds on the height of the tree; and (b) in the case of free trees, upper bounds on the degree of a node and lower and upper bounds on the diameter of the tree.},
  comment   = {enumerating trees, and enumerating trees with bounded degree},
  isbn      = {0-89871-434-6},
  location  = {Baltimore, Maryland, United States},
  owner     = {Sebastian},
  timestamp = {2010.12.10},
  url       = {http://portal.acm.org/citation.cfm?id=314500.314932},
}

Downloads: 0