pith. sign in

arxiv: 1511.08431 · v2 · pith:2FEAFXLJnew · submitted 2015-11-26 · 💻 cs.DS

On the Greedy Algorithm for the Shortest Common Superstring Problem with Reversals

classification 💻 cs.DS
keywords algorithmproblemshortestsuperstringcommonclassicalgreedyoptimal
0
0 comments X
read the original abstract

We study a variation of the classical Shortest Common Superstring (SCS) problem in which a shortest superstring of a finite set of strings $S$ is sought containing as a factor every string of $S$ or its reversal. We call this problem Shortest Common Superstring with Reversals (SCS-R). This problem has been introduced by Jiang et al., who designed a greedy-like algorithm with length approximation ratio $4$. In this paper, we show that a natural adaptation of the classical greedy algorithm for SCS has (optimal) compression ratio $\frac12$, i.e., the sum of the overlaps in the output string is at least half the sum of the overlaps in an optimal solution. We also provide a linear-time implementation of our algorithm.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.