An algebraic view of the relation between largest common subtrees and smallest common supertrees

The relationship between two important problems in tree pattern matching, the largest common subtree and the smallest common supertree of two trees, is established by means of simple constructions, which allow one to obtain the largest common subtree from the smallest common supertree, and vice vers...

Descripción completa

Detalles Bibliográficos
Autores: Rosselló, Francesc, Valiente Feruglio, Gabriel Alejandro|||0000-0001-9194-2703
Tipo de recurso: informe técnico
Fecha de publicación:2004
País:España
Institución:Universitat Politècnica de Catalunya (UPC)
Repositorio:UPCommons. Portal del coneixement obert de la UPC
Idioma:inglés
OAI Identifier:oai:upcommons.upc.edu:2117/87254
Acceso en línea:https://hdl.handle.net/2117/87254
Access Level:acceso abierto
Palabra clave:Tree pattern matching
Subtree isomorphism
Subtree homeomorphism
Topological embedding
Minor containment
Largest common subtree
Smallest common supertree
Pushout
Pullback
Àrees temàtiques de la UPC::Informàtica::Informàtica teòrica
Descripción
Sumario:The relationship between two important problems in tree pattern matching, the largest common subtree and the smallest common supertree of two trees, is established by means of simple constructions, which allow one to obtain the largest common subtree from the smallest common supertree, and vice versa. These constructions are given for the problems of isomorphic, homeomorphic, topological, and minor embeddings. They can be implemented by a straightforward extension of any algorithm that solves one of the two problems, and the extension only takes time linear in the size of the trees.