String consensus problems aim at finding a string that minimizes some given distance with respect to an input set of strings. In particular, in the Closest String problem, we are given a set of strings of equal length and a radius d. The goal is to find a new string that differs from each input string by at most d substitutions. We study a generalization of this problem where, in addition to substitutions, swaps of adjacent characters are also permitted, each operation incurring a unit cost. Amir et al. showed that this generalized problem is NP-hard, even when only swaps are allowed. In this paper, we show that it is FPT with respect to the parameter d. Moreover, we investigate a variant in which the goal is to minimize the sum of distances from the output string to all input strings. For this version, we present a polynomial-time algorithm.
Gabory, E., Bulteau, L., Fici, G., Verbeek, H. (2025). String Consensus Problems with Swaps and Substitutions. In J.R. Golnaz Badkobeh (a cura di), String Processing and Information Retrieval, 32nd International Symposium, SPIRE 2025, London, UK, September 8–11, 2025, Proceedings (pp. 133-147). Springer Cham [10.1007/978-3-032-05228-5_12].
String Consensus Problems with Swaps and Substitutions
Gabory E.
;Fici G.;
2025-01-01
Abstract
String consensus problems aim at finding a string that minimizes some given distance with respect to an input set of strings. In particular, in the Closest String problem, we are given a set of strings of equal length and a radius d. The goal is to find a new string that differs from each input string by at most d substitutions. We study a generalization of this problem where, in addition to substitutions, swaps of adjacent characters are also permitted, each operation incurring a unit cost. Amir et al. showed that this generalized problem is NP-hard, even when only swaps are allowed. In this paper, we show that it is FPT with respect to the parameter d. Moreover, we investigate a variant in which the goal is to minimize the sum of distances from the output string to all input strings. For this version, we present a polynomial-time algorithm.| File | Dimensione | Formato | |
|---|---|---|---|
|
String Consensus Problems with Swaps and Substitutions.pdf
Solo gestori archvio
Tipologia:
Versione Editoriale
Dimensione
1.15 MB
Formato
Adobe PDF
|
1.15 MB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


