Edit Distance between Unlabeled Ordered Trees - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue RAIRO - Theoretical Informatics and Applications (RAIRO: ITA) Année : 2006

Edit Distance between Unlabeled Ordered Trees

Résumé

There exists a bijection between one stack sortable permutations --permutations which avoid the pattern $231$-- and planar trees. We define an edit distance between permutations which is coherent with the standard edit distance between trees. This one-to-one correspondence yields a polynomial algorithm for the subpermutation problem for $(231)$ avoiding permutations. Moreover, we obtain the generating function of the edit distance between ordered trees and some special ones. For the general case we show that the mean edit distance between a planar tree and all other planar trees is at least $n/ln(n)$. Some results can be extended to labeled trees considering colored Dyck paths or equivalently colored one stack sortable permutations.
Fichier principal
Vignette du fichier
EditDistanceHAL.pdf (206.27 Ko) Télécharger le fichier

Dates et versions

hal-00005569 , version 1 (27-06-2005)

Identifiants

Citer

Anne Micheli, Dominique Rossin. Edit Distance between Unlabeled Ordered Trees. RAIRO - Theoretical Informatics and Applications (RAIRO: ITA), 2006, 40, pp.593-609. ⟨hal-00005569⟩
102 Consultations
120 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More