English

Restricted Common Superstring and Restricted Common Supersequence

Data Structures and Algorithms 2010-06-29 v2

Abstract

The {\em shortest common superstring} and the {\em 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 \textit{RCSstr}) problem and the Restricted Common Supersequence (shortly \textit{RCSseq}). In the \textit{RCSstr} (\textit{RCSseq}) problem we are given a set SS of nn strings, s1s_1, s2s_2, \ldots, sns_n, and a multiset t={t1,t2,,tm}t = \{t_1, t_2, \dots, t_m\}, and the goal is to find a permutation π:{1,,m}{1,,m}\pi : \{1, \dots, m\} \to \{1, \dots, m\} to maximize the number of strings in SS that are substrings (subsequences) of π(t)=tπ(1)tπ(2)...tπ(m)\pi(t) = t_{\pi(1)}t_{\pi(2)}...t_{\pi(m)} (we call this ordering of the multiset, π(t)\pi(t), a permutation of tt). We first show that in its most general setting the \textit{RCSstr} problem is {\em NP-complete} and hard to approximate within a factor of n1ϵn^{1-\epsilon}, for any ϵ>0\epsilon > 0, unless P = NP. Afterwards, we present two separate reductions to show that the \textit{RCSstr} problem remains NP-Hard even in the case where the elements of tt 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 \textit{RCSstr} problem. In the second part of this paper, we turn to the \textit{RCSseq} problem, where we present some hardness results, tight lower bounds and approximation algorithms.

Keywords

Cite

@article{arxiv.1004.0424,
  title  = {Restricted Common Superstring and Restricted Common Supersequence},
  author = {Raphaël Clifford and Zvi Gotthilf and Moshe Lewenstein and Alexandru Popa},
  journal= {arXiv preprint arXiv:1004.0424},
  year   = {2010}
}

Comments

Submitted to WAOA 2010

R2 v1 2026-06-21T15:06:05.235Z