Constrained tree inclusion
Visualitza/Obre
Estadístiques de LA Referencia / Recolecta
Inclou dades d'ús des de 2022
Cita com:
hdl:2117/97378
Tipus de documentReport de recerca
Data publicació2003-03
Condicions d'accésAccés obert
Tots els drets reservats. Aquesta obra està protegida pels drets de propietat intel·lectual i
industrial corresponents. Sense perjudici de les exempcions legals existents, queda prohibida la seva
reproducció, distribució, comunicació pública o transformació sense l'autorització del titular dels drets
Abstract
The tree matching problem is considered of given labeled
trees P and T, determining if the pattern tree P can be obtained from
the text tree T by deleting degree-one and degree-two nodes and, in
the case of unordered trees, by also permuting siblings. The constrained
tree inclusion problem is more sensitive to the structure of the pattern
tree than the general tree inclusion problem. Further, it can be solved in
polynomial time for both unordered and ordered trees. Algorithms based
on the subtree homeomorphism algorithm of (Chung, 1987) are presented
that solve the constrained tree inclusion problem in O(m1.5n) time on
unordered trees with m and n nodes, and in O(mn) time on ordered
trees, using O(mn) additional space. These algorithms can be improved
using results of (Shamir and Tsur, 1999) to run in O((m1.5/ logm)n)
and O((m/logm)n) time, respectively.
CitacióValiente, G. "Constrained tree inclusion". 2003.
Forma partLSI-03-11-R
Col·leccions
Fitxers | Descripció | Mida | Format | Visualitza |
---|---|---|---|---|
R03-11.ps | 347,3Kb | Postscript | Visualitza/Obre |