Tree inclusion problems - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2007

Tree inclusion problems

Résumé

Given two trees (a target $T$ and a pattern $P$) and a natural number $w$, {\em window embedded subtree problems} consist in deciding whether $P$ occurs as an embedded subtree of $T$ and/or finding the number of size (at most) $w$ windows of $T$ which contain pattern $P$ as an embedded subtree. $P$ is an embedded subtree of $T$ if $P$ can be obtained by deleting some nodes from $T$ (if a node $v$ is deleted, all edges adjacent to $v$ are also deleted, and outgoing edges are replaced by edges going from the parent of $v$ (if it exists) to the children of $v$). Deciding whether $P$ is an embedded subtree of $T$ is known to be NP-complete. Our algorithms run in time $O(|T| 2^{2^{|P|}})$ where $|T|$ (resp. $|P|$) is the size of $ T$ (resp. $P$).
Fichier principal
Vignette du fichier
cgm.pdf (177.29 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00159125 , version 1 (03-07-2007)

Identifiants

  • HAL Id : hal-00159125 , version 1

Citer

Patrick Cegielski, Irene Guessarian, Yuri Matiyasevich. Tree inclusion problems. 2007. ⟨hal-00159125⟩
72 Consultations
112 Téléchargements

Partager

Gmail Facebook X LinkedIn More