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. [9], 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 12, 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.
Fici, G., Kociumaka, T., Radoszewski, J., Rytter, W., Waleń, T. (2016). On the greedy algorithm for the Shortest Common Superstring problem with reversals. INFORMATION PROCESSING LETTERS, 116(3), 245-251 [10.1016/j.ipl.2015.11.015].
On the greedy algorithm for the Shortest Common Superstring problem with reversals
FICI, Gabriele;
2016-01-01
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. [9], 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 12, 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.File | Dimensione | Formato | |
---|---|---|---|
On the greedy algorithm for the Shortest Common Superstring problem with reversals.pdf
Solo gestori archvio
Dimensione
355.72 kB
Formato
Adobe PDF
|
355.72 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.