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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho and M. J. Corasick “Efficient string matching: an aid to bibliographic search’, CA CM 18:6 (1975) 333–343
A. Apostolico and R. Giancarlo “Pattern matching machine implementation of a fast test for unique decipherability’ Inf. Proc. Letters, 18 (1984), 155–158
J. Berstel, D. Perrin, J. F. Perrot, A. Restivo “Sur le theoreme du defaut”, J. of Algebra 60 (1979) 169–180
E. K. Blum “Free subsemigroups of a free semigroup”, Mich. Math. J. 12 (1965) 179–182
R. M. Capocelli “On some free subsemigroups of a free semigroup”, Semigroup Forum 15 (1977) 125–135
R. M. Capocelli “A note on uniquely decipherable codes”, IEEE Trans. on Inf. Thy. IT-25 (1979) 90–94
R. M. Capocelli “On optimal factorization of free semigroups into free subsemigroups”, Semigroup Forum 19 (1980) 199–212
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
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
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
S. Even “Tests for unique decipherability” IEEE Trans. on Inf. Thy. IT-9 (1963) 109–112
S. Even “Tests for synchronizability of finite automata and variable length codes”, IEEE Trans. on Inf. Thy. IT-10 (1964) 185–189
S. W. Golomb, B. Gordon, L. R. Welch “Comma-free codes”, Can. J. of Math. 10 (1958) 202–209
C. M. Hoffmann “A note on unique decipherability”, 11th Intl. Symp. Math. Found. of Comp. Sci., (1984), Springer Lecture Notes in Comp. Sci.
D. Knuth, J. Morris, V. Pratt “Fast pattern matching in strings”, SIAM J. on Comp. 6:2 (1977) 323–350
G. Lallement “Semi groups and Combinatorial Applications”, J. Wiley & Sons, New York (1979)
V. I. Levenshtein “Certain properties of code systems”, Soy. Phys. Doklady 6 (1962) 858–860
V. I. Levenshtein “Some properties of coding and self-adjusting automata for decoding messages”, Problemy Kyberneticki 11 (1964) 63–121
A. A. Markov “Non-recurrent coding”, ProblemyKyberneticki 8 (1962) 169–189
E. M. McCreight “A space-economical suffix tree construction algorithm”, J. ACM 23:2 (1976) 262–272
A. Restivo “On a question of McNaughton and Papert”, Inf. and Control 25 (1974) 93–101
J. A. Riley “The Sardinas-Patterson and Levenshtein theorems”, Inf. and Control 10 (1967) 120–136
M. Rodeh “A fast test for unique decipherability based on suffix trees”, IEEE Trans. on N. Thy. IT 28: 4 (1982) 648–651;
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
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.
J. C. Spehner “Quelques constructions et algorithmes relatifs aux sous-monoides d’un monoide libre”, Semigroup Forum 9 (1975) 334–353
B. Tilson “The intersection of free submonoids of free monoids is free”, Semigroup Forum 4 (1972) 345–350
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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