Tree inclusions in windows and slices
Zapiski Nauchnykh Seminarov POMI, Studies in constructive mathematics and mathematical logic. Part XI, Tome 358 (2008), pp. 38-53

Voir la notice de l'article provenant de la source Math-Net.Ru

A labelled tree $P$ is an embedded subtree of a labelled tree $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 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. Given two trees (a target $T$ and a pattern $P$) and a natural number $w$, we address two problems: 1) counting the number of windows of $T$ having height exactly $w$ and containing the pattern $P$ as an embedded subtree, and 2) counting the number of slices of $T$ having height exactly $w$ and containing the pattern $P$ as an embedded subtree. Our algorithms run in time $O(|T|(w-h(P)+2)^{4|P|})$, where $|T|$ (resp., $|P|$) is the size of $T$ (resp., $P$), and $h(P)$ is the height of $P$. Bibl. – 10 titles.
@article{ZNSL_2008_358_a2,
     author = {I. Guessarian and P. C\'egielski},
     title = {Tree inclusions in windows and slices},
     journal = {Zapiski Nauchnykh Seminarov POMI},
     pages = {38--53},
     publisher = {mathdoc},
     volume = {358},
     year = {2008},
     language = {en},
     url = {http://geodesic.mathdoc.fr/item/ZNSL_2008_358_a2/}
}
TY  - JOUR
AU  - I. Guessarian
AU  - P. Cégielski
TI  - Tree inclusions in windows and slices
JO  - Zapiski Nauchnykh Seminarov POMI
PY  - 2008
SP  - 38
EP  - 53
VL  - 358
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/ZNSL_2008_358_a2/
LA  - en
ID  - ZNSL_2008_358_a2
ER  - 
%0 Journal Article
%A I. Guessarian
%A P. Cégielski
%T Tree inclusions in windows and slices
%J Zapiski Nauchnykh Seminarov POMI
%D 2008
%P 38-53
%V 358
%I mathdoc
%U http://geodesic.mathdoc.fr/item/ZNSL_2008_358_a2/
%G en
%F ZNSL_2008_358_a2
I. Guessarian; P. Cégielski. Tree inclusions in windows and slices. Zapiski Nauchnykh Seminarov POMI, Studies in constructive mathematics and mathematical logic. Part XI, Tome 358 (2008), pp. 38-53. http://geodesic.mathdoc.fr/item/ZNSL_2008_358_a2/