Random generation of trees acid other combinatorial objects

Citation
E. Barcucci et al., Random generation of trees acid other combinatorial objects, THEOR COMP, 218(2), 1999, pp. 219-232
Citations number
14
Categorie Soggetti
Computer Science & Engineering
Journal title
THEORETICAL COMPUTER SCIENCE
ISSN journal
03043975 → ACNP
Volume
218
Issue
2
Year of publication
1999
Pages
219 - 232
Database
ISI
SICI code
0304-3975(19990506)218:2<219:RGOTAO>2.0.ZU;2-M
Abstract
In this paper, we present a general method for the random generation of som e classes of combinatorial objects. Our basic idea is to translate ECO meth od (Enumerating Combinatorial Objects) from a method for the enumeration of combinatorial objects into a random generation method. The algorithms we i llustrate are based on the concepts of succession rule and generating tree: the former is a law that predicts the combinatorial object class growth ac cording to a given parameter. The generating tree related to a given succes sion rule is a particular labelled plane tree that represents the rule in a n extensive way. Each node of a generating tree can also be seen as a parti cular combinatorial object and so a random path in the generating tree coin cides with the random generation of that combinatorial object. The generati on is uniform if we take the probability of each branch to be selected into account when the path is generated. We also give the formulae evaluating c omplexity. Finally, we take the class of m-ary trees into consideration in order to illustrate our general method. In this case, the average time comp lexity of the generating algorithm can be estimated as O(mn). (C) 1999 Else vier Science B.V. All rights reserved.