Skip to main content

On the worst-case behaviour of some approximation algorithms for the shortest common supersequence of k strings

  • Conference paper
  • First Online:
Combinatorial Pattern Matching (CPM 1993)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 684))

Included in the following conference series:

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

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A. Apostolico and C. Guerra. The longest common subsequence problem revisited. Algorithmica, 2:315–336, 1987.

    Google Scholar 

  2. S. Arora, C. Lund, R. Motwani, M. Sudan, and M. Szegedy. Proof verification and intractability of approximation problems. Unpublished manuscript, 1992.

    Google Scholar 

  3. 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.

    Google Scholar 

  4. D.S. Hirschberg. Algorithms for the longest common subsequence problem. Journal of the A.C.M., 24:664–675, 1977.

    Google Scholar 

  5. W.J. Hsu and M.W. Du. Computing a longest common subsequence for a set of strings. BIT, 24:45–59, 1984.

    Google Scholar 

  6. 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.

    Google Scholar 

  7. 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.

    Google Scholar 

  8. S.Y. Itoga. The string merging problem. BIT, 21:20–30, 1981.

    Google Scholar 

  9. T. Jiang and M. Li. On the approximation of shortest common supersequences and longest common subsequences. Submitted for publication, 1992.

    Google Scholar 

  10. D. Maier. The complexity of some problems on subsequences and supersequences. Journal of the A.C.M., 25:322–336, 1978.

    Google Scholar 

  11. E.W. Myers. An O(ND) difference algorithm and its variations. Algorithmica, 1:251–266, 1986.

    Google Scholar 

  12. N. Nakatsu, Y. Kambayashi, and S. Yajima. A longest common subsequence algorithm suitable for similar text strings. Acta Informatica, 18:171–179, 1982.

    Google Scholar 

  13. C.H. Papadimitriou and M. Yannakakis. Optimization, approximation, and complexity classes. Journal of Computer and System Sciences, 43:425–440, 1991.

    Google Scholar 

  14. V.G. Timkovskii. Complexity of common subsequence and supersequence problems and related problems. English Translation from Kibernetika, 5:1–13, 1989.

    Google Scholar 

  15. E. Ukkonen. Algorithms for approximate string matching. Information and Control, 64:100–118, 1985.

    Google Scholar 

  16. R.A. Wagner and M.J. Fischer. The string-to-string correction problem. Journal of the A.C.M., 21:168–173, 1974.

    Google Scholar 

  17. S. Wu, U. Manber, G. Myers, and W. Miller. An O(NP) sequence comparison algorithm. Information Processing Letters, 35:317–323, 1990.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Alberto Apostolico Maxime Crochemore Zvi Galil Udi Manber

Rights and permissions

Reprints 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

Publish with us

Policies and ethics