On the maximum common embedded subtree problem for ordered trees
The maximum common embedded subtree problem, which generalizes the subtree homeomorphism problem, is reduced for ordered trees to a variant of the longest common subsequence problem, called the longest common balanced sequence problem. While the maximum common embedded subtree problem is known to be...
| Autor: | |
|---|---|
| Tipo de recurso: | informe técnico |
| Fecha de publicación: | 2003 |
| 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/97381 |
| Acceso en línea: | https://hdl.handle.net/2117/97381 |
| Access Level: | acceso abierto |
| Palabra clave: | Maximum common embedded subtree Subtree homeomorphism Longest common balanced sequence Combinatorial problems Graph algorithms Trees String algorithms Pattern matching subtree isomorphism Àrees temàtiques de la UPC::Informàtica |
| Sumario: | The maximum common embedded subtree problem, which generalizes the subtree homeomorphism problem, is reduced for ordered trees to a variant of the longest common subsequence problem, called the longest common balanced sequence problem. While the maximum common embedded subtree problem is known to be APX-hard for unordered trees, an exact solution for ordered trees can be found in polynomial time. A dynamic programming algorithm is presented that solves the longest common balanced sequence problem, and thus the maximum common embedded subtree problem, in (m^2n^2)$ time, where m and n are the number of edges in the trees. |
|---|