# An Unambiguous And Complete Dynamic Programming Algorithm For Tree Alignment

2 AMIB - Algorithms and Models for Integrative Biology
LIX - Laboratoire d'informatique de l'École polytechnique [Palaiseau], LRI - Laboratoire de Recherche en Informatique, UP11 - Université Paris-Sud - Paris 11, Inria Saclay - Ile de France
Abstract : Pairwise ordered tree alignment is an important pattern matching problem, motivated by RNA secondary structure comparison for example, that can be solved efficiently using Dynamic Programming (DP). An inquiry into the multiplicity of optimal solutions, as well as the existence of potentially interesting sub-optimal solutions, naturally motivates the question of exploring the space of all, optimal and sub-optimal, tree alignments. There are well-known DP-based techniques that allow for such an exploration, but they require completeness and unambiguity of the DP scheme, i.e. the existence of a score-preserving bijection between the search space and the set of possible derivations of the DP scheme. In this paper, we present the first unambiguous and complete dynamic programming algorithm for the alignment of a pair of ordered rooted trees. Our algorithm optimally aligns two trees of size $n_1$ and $n_2$ in $\Theta(n_1 n_2 max(n_1, n_2)^2)$ time in the worst-case scenario. Assuming uniformly-drawn random trees as input, it has average-case time and space complexities in $\Theta(n_1 n_2)$.
Type de document :
Pré-publication, Document de travail
Submitted. 2015
Domaine :

https://hal.inria.fr/hal-01154030
Contributeur : Yann Ponty <>
Soumis le : jeudi 21 mai 2015 - 17:25:42
Dernière modification le : mercredi 14 novembre 2018 - 16:08:07
Document(s) archivé(s) le : jeudi 20 avril 2017 - 05:52:47

### Fichiers

spire2015_draft.pdf
Fichiers produits par l'(les) auteur(s)

### Identifiants

• HAL Id : hal-01154030, version 1
• ARXIV : 1505.05983

### Citation

Cedric Chauve, Julien Courtiel, Yann Ponty. An Unambiguous And Complete Dynamic Programming Algorithm For Tree Alignment. Submitted. 2015. 〈hal-01154030v1〉

### Métriques

Consultations de la notice

## 130

Téléchargements de fichiers