In this paper, we present a general method for the random generation of some classes of combinatorial objects. Our basic idea is to translate ECO method (Enumerating Combinatorial Objects) from a method for the enumeration of combinatorial objects into a random generation method. The algorithms we illustrate are based on the concepts of succession rule and generating tree: the former is a law that predicts the combinatorial object class growth according to a given parameter. The generating tree related to a given succession rule is a particular labelled plane tree that represents the rule in an extensive way. Each node of a generating tree can also be seen as a particular combinatorial object and so a random path in the generating tree coincides with the random generation of that combinatorial object. The generation 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 complexity. Finally, we take the class of m-ary trees into consideration in order to illustrate our general method. In this case, the average time complexity of the generating algorithm can be estimated as O(mn).

Random generation of trees and other combinatorial objects / E. BARCUCCI; A. DEL LUNGO; E. PERGOLA. - In: THEORETICAL COMPUTER SCIENCE. - ISSN 0304-3975. - STAMPA. - 218:(1999), pp. 219-232. [10.1016/S0304-3975(98)00322-3]

Random generation of trees and other combinatorial objects

BARCUCCI, ELENA;PERGOLA, ELISA
1999

Abstract

In this paper, we present a general method for the random generation of some classes of combinatorial objects. Our basic idea is to translate ECO method (Enumerating Combinatorial Objects) from a method for the enumeration of combinatorial objects into a random generation method. The algorithms we illustrate are based on the concepts of succession rule and generating tree: the former is a law that predicts the combinatorial object class growth according to a given parameter. The generating tree related to a given succession rule is a particular labelled plane tree that represents the rule in an extensive way. Each node of a generating tree can also be seen as a particular combinatorial object and so a random path in the generating tree coincides with the random generation of that combinatorial object. The generation 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 complexity. Finally, we take the class of m-ary trees into consideration in order to illustrate our general method. In this case, the average time complexity of the generating algorithm can be estimated as O(mn).
1999
218
219
232
E. BARCUCCI; A. DEL LUNGO; E. PERGOLA
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/309705
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 22
  • ???jsp.display-item.citation.isi??? 20
social impact