A word equation solver based on Levensthein distance

  • Authors:
  • César L. Alonso;David Alonso;Mar Callau;José Luis Montaña

  • Affiliations:
  • Centro de Inteligencia Artificial, Universidad de Oviedo, Gijón, Spain;Centro de Inteligencia Artificial, Universidad de Oviedo, Gijón, Spain;Universidad Complutense de Madrid;Departamento de Matemáticas, Estadística y Computación, Universidad de Cantabria

  • Venue:
  • MICAI'07 Proceedings of the artificial intelligence 6th Mexican international conference on Advances in artificial intelligence
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Many regularity properties of strings, like those appearing in hardware specification and verification, can be expressed in terms of word equations. The solvability problem of word equations is NP-hard and the first algorithm to find a solution for a word equation, when this solution exists, was given by Makanin in 1977. The time complexity of Makanin's algorithm is triple exponential in the length of the equations. In this paper we present an evolutionary algorithm with a local search procedure that is efficient for solving word equation systems. The fitness function of our algorithm is based on Levensthein distance considered as metric for the set of 0-1 binary strings. Our experimental results evidence that this metric is better suited for solving word equations than other edit metrics like, for instance, Hamming distance.