Restricted Common Superstring and Restricted Common Supersequence [article]

Raphaël Clifford, Zvi Gotthilf, Moshe Lewenstein, Alexandru Popa
2010 arXiv   pre-print
The shortest common superstring and the shortest common supersequence are two well studied problems having a wide range of applications. In this paper we consider both problems with resource constraints, denoted as the Restricted Common Superstring (shortly RCSstr) problem and the Restricted Common Supersequence (shortly RCSseq). In the RCSstr (RCSseq) problem we are given a set S of n strings, s_1, s_2, ..., s_n, and a multiset t = {t_1, t_2, ..., t_m}, and the goal is to find a permutation π
more » ... {1, ..., m}→{1, ..., m} to maximize the number of strings in S that are substrings (subsequences) of π(t) = t_π(1)t_π(2)...t_π(m) (we call this ordering of the multiset, π(t), a permutation of t). We first show that in its most general setting the RCSstr problem is NP-complete and hard to approximate within a factor of n^1-ϵ, for any ϵ > 0, unless P = NP. Afterwards, we present two separate reductions to show that the RCSstr problem remains NP-Hard even in the case where the elements of t are drawn from a binary alphabet or for the case where all input strings are of length two. We then present some approximation results for several variants of the RCSstr problem. In the second part of this paper, we turn to the RCSseq problem, where we present some hardness results, tight lower bounds and approximation algorithms.
arXiv:1004.0424v2 fatcat:uwvvac2ewvho7adgwfcpi66x2i