Abstract
Two natural polynomial-time approximation algorithms for the shortest common supersequence (SCS) of k strings are analysed from the point of view of worst-case performance guarantee. Both algorithms behave badly in the worst case, whether the underlying alphabet is unbounded or of fixed size. For a Tournament style algorithm proposed by Timkovskii, we show that the length of the SCS found is between k/4 and (3k + 2)/8 times the length of the optimal in the worst case. The corresponding bounds proved for the obvious Greedy algorithm are (4k + 17)/27 and (k−1)/e. Even for a binary alphabet, no constant performance guarantee is possible for either algorithm, in contrast with the guarantee of 2 provided by a trivial algorithm in that case.
Supported by a postgraduate research studentship from the Science and Engineering Research Council
Preview
Unable to display preview. Download preview PDF.
References
A. Apostolico and C. Guerra. The longest common subsequence problem revisited. Algorithmica, 2:315–336, 1987.
S. Arora, C. Lund, R. Motwani, M. Sudan, and M. Szegedy. Proof verification and intractability of approximation problems. Unpublished manuscript, 1992.
J.H. Bradford and T.A. Jenkyns. On the inadequacy of tournament algorithms for the n-SCS problem. Information Processing Letters, 38:169–171, 1991.
D.S. Hirschberg. Algorithms for the longest common subsequence problem. Journal of the A.C.M., 24:664–675, 1977.
W.J. Hsu and M.W. Du. Computing a longest common subsequence for a set of strings. BIT, 24:45–59, 1984.
J.W. Hunt and T.G. Szymanski. A fast algorithm for computing longest common subsequences. Communications of the A.C.M., 20:350–353, 1977.
R.W. Irving and C.B. Fraser. Two algorithms for the longest common subsequence of three (or more) strings. In Proceedings of the Third Annual Symposium on Combinatorial Pattern Matching, pages 214–229. Springer-Verlag LNCS Vol. 644, 1992.
S.Y. Itoga. The string merging problem. BIT, 21:20–30, 1981.
T. Jiang and M. Li. On the approximation of shortest common supersequences and longest common subsequences. Submitted for publication, 1992.
D. Maier. The complexity of some problems on subsequences and supersequences. Journal of the A.C.M., 25:322–336, 1978.
E.W. Myers. An O(ND) difference algorithm and its variations. Algorithmica, 1:251–266, 1986.
N. Nakatsu, Y. Kambayashi, and S. Yajima. A longest common subsequence algorithm suitable for similar text strings. Acta Informatica, 18:171–179, 1982.
C.H. Papadimitriou and M. Yannakakis. Optimization, approximation, and complexity classes. Journal of Computer and System Sciences, 43:425–440, 1991.
V.G. Timkovskii. Complexity of common subsequence and supersequence problems and related problems. English Translation from Kibernetika, 5:1–13, 1989.
E. Ukkonen. Algorithms for approximate string matching. Information and Control, 64:100–118, 1985.
R.A. Wagner and M.J. Fischer. The string-to-string correction problem. Journal of the A.C.M., 21:168–173, 1974.
S. Wu, U. Manber, G. Myers, and W. Miller. An O(NP) sequence comparison algorithm. Information Processing Letters, 35:317–323, 1990.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Irving, R.W., Fraser, C.B. (1993). On the worst-case behaviour of some approximation algorithms for the shortest common supersequence of k strings. In: Apostolico, A., Crochemore, M., Galil, Z., Manber, U. (eds) Combinatorial Pattern Matching. CPM 1993. Lecture Notes in Computer Science, vol 684. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0029797
Download citation
DOI: https://doi.org/10.1007/BFb0029797
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-56764-6
Online ISBN: 978-3-540-47732-7
eBook Packages: Springer Book Archive