Hairpin lengthening

  • Authors:
  • Florin Manea;Carlos Martín-Vide;Victor Mitrana

  • Affiliations:
  • Otto-von-Guericke-University Magdeburg, Faculty of Computer Science, Magdeburg, Germany and Faculty of Mathematics and Computer Science, University of Bucharest, Bucharest, Romania;Research Group in Mathematical Linguistics, Rovira i Virgili University, Tarragona, Spain;Faculty of Mathematics and Computer Science, Univ. of Bucharest, Bucharest, Romania and Dept. de Organización y Estructura de la Información, Escuela Univ. de Informática, Universid ...

  • Venue:
  • CiE'10 Proceedings of the Programs, proofs, process and 6th international conference on Computability in Europe
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The hairpin completion is a natural operation of formal languages which has been inspired by molecular phenomena in biology and by DNA-computing. We consider here a new variant of the hairpin completion, called hairpin lengthening, which seems more appropriate for practical implementation. The variant considered here concerns the lengthening of the word that forms a hairpin structure, such that this structure is preserved, without necessarily completing the hairpin. Although our motivation is based on biological phenomena, the present paper is more about some algorithmic properties of this operation. We prove that the iterated hairpin lengthening of a language recognizable in O(f(n)) time is recognizable in O(n2f(n)) time, while the one-step hairpin lengthening of such a language is recognizable in O(nf(n)) time. Finally, we propose an algorithm for computing the hairpin lengthening distance between two words in quadratic time.