A linear Time Algorithm for the Generation of Trees - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 1996

A linear Time Algorithm for the Generation of Trees

Laurent Alonso
  • Fonction : Auteur
  • PersonId : 830118
Jean-Luc Rémy
  • Fonction : Auteur
René Schott
  • Fonction : Auteur

Résumé

We present a linear algorithm which generates randomly and with uniform probability many kinds of trees: binary trees, ternary trees, arbitrary trees, forests of $p$ $k$-ary trees, $\ldots$. The algorithm is based on the definition of generic trees which can be coded as words. These words, in turn, are generated in linear time.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
RR-2934.pdf (311.34 Ko) Télécharger le fichier

Dates et versions

inria-00073765 , version 1 (24-05-2006)

Identifiants

  • HAL Id : inria-00073765 , version 1

Citer

Laurent Alonso, Jean-Luc Rémy, René Schott. A linear Time Algorithm for the Generation of Trees. [Research Report] RR-2934, INRIA. 1996. ⟨inria-00073765⟩
104 Consultations
269 Téléchargements

Partager

Gmail Facebook X LinkedIn More