Skip to main content

A note on unique decipherability

  • Invited Lectures
  • Conference paper
  • First Online:
Mathematical Foundations of Computer Science 1984 (MFCS 1984)

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

Abstract

We consider the following problem: Given a set Γ = {c 1,...,c n} of nonempty strings over a fixed, finite alphabet Σ, is every string in Γ+ uniquely decipherable, or does the equation cx = dy, where c, d ∈ Γ, cd, and x,y ∈ Γ*, have a solution? We give an O(n L) algorithm for this problem, where L = |c 1| + ... + |c n|, and use this algorithm to investigate the impact of structural properties of Γ on the complexity of testing unique decipherability. We then give an O(L log(n)) unique decipherability test for sets Γ which may be linearly ordered by the prefix relation.

This work was supported in part by the National Science Foundation under Grant MCS 80-21066

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. V. Aho and M. J. Corasick “Efficient string matching: an aid to bibliographic search”, CACM 18:6 (1975) 333–343

    Google Scholar 

  2. A. Apostolico and R. Giancarlo “Pattern matching machine implementation of a fast test for unique decipherability” Inf. Proc. Letters, forthcoming in 1984

    Google Scholar 

  3. E. K. Blum “Free subsemigroups of a free semigroup”, Mich. Math. J. 12 (1965) 179–182

    Google Scholar 

  4. R. M. Capocelli “A note on uniquely decipherable codes”, IEEE Trans. on Inf. Thy. IT-25 (1979) 90–94

    Google Scholar 

  5. R. M. Capocelli and C. M. Hoffmann “Algorithms for factorizing semigroups”, Proc. NATO Workshop on Combinatorial Algorithms on Words, Maratea, Italy, 1984

    Google Scholar 

  6. S. Even “Graph Algorithms”, Comp. Sci. Press, Potomac, Md., (1979)

    Google Scholar 

  7. D. Knuth, J. Morris, V. Pratt “Fast pattern matching in strings”, SIAM J. on Comp. 6:2 (1977) 323–350

    Google Scholar 

  8. G. Lallement “Semigroups and Combinatorial Applications”, J. Wiley & Sons, New York (1979)

    Google Scholar 

  9. A. A. Markov “Non-recurrent coding”, Problem. Kybern. 8 (1962) 169–189

    Google Scholar 

  10. E. M. McCreight “A space-economical suffix tree construction algorithm”, J. ACM 23:2 (1976) 262–272

    Google Scholar 

  11. M. Rodeh “A fast test for unique decipherability based on suffix trees”, IEEE Trans. on Inf. Thy. IT-28:4 (1982) 648–651

    Google Scholar 

  12. A. A. Sardinas and C. W. Patterson “A necessary and sufficient condition for the unique decomposition of coded messages”, IRE Intl. Conv. Rec. 8 (1953) 104–108

    Google Scholar 

  13. J. C. Spehner “Quelques constructions et algorithmes relatifs aux sous-monoides d'un monoide libre”, Semigroup Forum 9 (1979) 334–353

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

M. P. Chytil V. Koubek

Rights and permissions

Reprints and permissions

Copyright information

© 1984 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hoffmann, C.M. (1984). A note on unique decipherability. In: Chytil, M.P., Koubek, V. (eds) Mathematical Foundations of Computer Science 1984. MFCS 1984. Lecture Notes in Computer Science, vol 176. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0030289

Download citation

  • DOI: https://doi.org/10.1007/BFb0030289

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-13372-8

  • Online ISBN: 978-3-540-38929-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics