Skip to main content

Algorithms for Factorizing and Testing Subsemigroups

  • Conference paper
Combinatorial Algorithms on Words

Part of the book series: NATO ASI Series ((NATO ASI F,volume 12))

Abstract

Given a finite subset Γ of a fixed, finite alphabet Σ, we construct the basis B of the minimum subsemigroup of Σ+ containing Γ, such that B has various properties. The properties we consider are that B be a uniquely decipherable, a finitely decipherable, a synchronizable, or a prefix code. The algorithm for constructing the uniquely decipherable and the finitely decipherable code B requires O(n 2 L + L 2) steps, the algorithm for constructing the synchronizable code B requires O(n L 2) steps, and the algorithm for constructing the prefix code B requires O(L 2) steps. Here n is the cardinality of Γ and L is the sum of the lengths of the words in Γ. Finally, given a synchronizable or finitely decipherable code Γ, we also show how to determine its synchronizability or decipherability delay, in O(n L) steps.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

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’, CA CM 18:6 (1975) 333–343

    MathSciNet  MATH  Google Scholar 

  2. A. Apostolico and R. Giancarlo “Pattern matching machine implementation of a fast test for unique decipherability’ Inf. Proc. Letters, 18 (1984), 155–158

    Article  MathSciNet  Google Scholar 

  3. J. Berstel, D. Perrin, J. F. Perrot, A. Restivo “Sur le theoreme du defaut”, J. of Algebra 60 (1979) 169–180

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MATH  Google Scholar 

  5. R. M. Capocelli “On some free subsemigroups of a free semigroup”, Semigroup Forum 15 (1977) 125–135

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  7. R. M. Capocelli “On optimal factorization of free semigroups into free subsemigroups”, Semigroup Forum 19 (1980) 199–212

    Article  MathSciNet  MATH  Google Scholar 

  8. R. M. Capocelli “On weakly prefix subsemigroups of a free semigroup”, Advances in Communications, D. G. Lainiotis and N. S. Tzarines, eds., Reidel Publishing, Dordrecht 1980, 123–129

    Google Scholar 

  9. R. M. Capocelli and L. M. Ricciardi “A heuristic approach to feature extraction for written languages”, Proc. 4 th Intl. Conf. on Pattern Recognition, Kyoto, Japan, 1978, 364–368

    Google Scholar 

  10. A. DeLuca and A. Restivo “Synchronization and maximality for very pure subsemigroups of a free semigroup”, Springer Lect. Notes in Comp. Sci. 74 (1979) 363–371

    Article  MathSciNet  Google Scholar 

  11. S. Even “Tests for unique decipherability” IEEE Trans. on Inf. Thy. IT-9 (1963) 109–112

    Article  Google Scholar 

  12. S. Even “Tests for synchronizability of finite automata and variable length codes”, IEEE Trans. on Inf. Thy. IT-10 (1964) 185–189

    Article  MathSciNet  MATH  Google Scholar 

  13. S. W. Golomb, B. Gordon, L. R. Welch “Comma-free codes”, Can. J. of Math. 10 (1958) 202–209

    Article  MathSciNet  MATH  Google Scholar 

  14. C. M. Hoffmann “A note on unique decipherability”, 11th Intl. Symp. Math. Found. of Comp. Sci., (1984), Springer Lecture Notes in Comp. Sci.

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  16. G. Lallement “Semi groups and Combinatorial Applications”, J. Wiley & Sons, New York (1979)

    Google Scholar 

  17. V. I. Levenshtein “Certain properties of code systems”, Soy. Phys. Doklady 6 (1962) 858–860

    Google Scholar 

  18. V. I. Levenshtein “Some properties of coding and self-adjusting automata for decoding messages”, Problemy Kyberneticki 11 (1964) 63–121

    Google Scholar 

  19. A. A. Markov “Non-recurrent coding”, ProblemyKyberneticki 8 (1962) 169–189

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  21. A. Restivo “On a question of McNaughton and Papert”, Inf. and Control 25 (1974) 93–101

    Article  MathSciNet  MATH  Google Scholar 

  22. J. A. Riley “The Sardinas-Patterson and Levenshtein theorems”, Inf. and Control 10 (1967) 120–136

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  Google Scholar 

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

    Google Scholar 

  25. B. M. Schein “Semigroups whose every transitive representation by function is a representation by invertible functions”, Izv. Vysa. Ucebn. Zaved, Matem. 7 (1973) 112–121; in Russian.

    Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  27. B. Tilson “The intersection of free submonoids of free monoids is free”, Semigroup Forum 4 (1972) 345–350

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1985 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Capocelli, R.M., Hoffmann, C.M. (1985). Algorithms for Factorizing and Testing Subsemigroups. In: Apostolico, A., Galil, Z. (eds) Combinatorial Algorithms on Words. NATO ASI Series, vol 12. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-82456-2_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-82456-2_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-82458-6

  • Online ISBN: 978-3-642-82456-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics