A Beam Search for the Longest Common Subsequence Problem Guided by a Novel Approximate Expected Length Calculation

The longest common subsequence problem (LCS) aims at finding a longest string that appears as subsequence in each of a given set of input strings. This is a well known NP -hard problem which has been tackled by many heuristic approaches. Among them, the best performing ones are based on beam search...

ver descrição completa

Detalhes bibliográficos
Autores: Djukanovic, Marco, Raidl, Günther R., Blum, Christian
Formato: otro
Estado:Versión enviada para evaluación y publicación
Fecha de publicación:2019
País:España
Recursos:Consejo Superior de Investigaciones Científicas (CSIC)
Repositorio:DIGITAL.CSIC. Repositorio Institucional del CSIC
OAI Identifier:oai:digital.csic.es:10261/237693
Acesso em linha:http://hdl.handle.net/10261/237693
https://doi.org/10.1007/978-3-030-37599-7
Access Level:acceso abierto
Palavra-chave:String problems
Expected value
Beam search
Descrição
Resumo:The longest common subsequence problem (LCS) aims at finding a longest string that appears as subsequence in each of a given set of input strings. This is a well known NP -hard problem which has been tackled by many heuristic approaches. Among them, the best performing ones are based on beam search (BS) but differ significantly in various aspects. In this paper we compare the existing BS-based approaches by using a common BS framework making the differences more explicit. Furthermore, we derive a novel heuristic function to guide BS, which approximates the expected length of an LCS of random strings. In a rigorous experimental evaluation we compare all BS-based methods from the literature and investigate the impact of our new heuristic guidance. Results show in particular that our novel heuristic guidance leads frequently to significantly better solutions. New best solutions are obtained for a wide range of the existing benchmark instances.