Abstract
Let C be a finite set of n words having total length L where all words are taken over a k-element alphabet. The set C is numerically decipherable if any two factorizations of the same word over the given alphabet into words in C have the same length. An O(nL 2) time and O((n + k)L) space algorithm is presented for computing the finest homophonic partition of C provided that this set is numerically decipherable. Whether or not the set C is numerically decipherable can be decided by another algorithm requiring O(nL) time and O((n + k)L) space. These algorithms are based on a recently developed technique related to dominoes. The presentation includes similar procedures which decide in O(nL) time and O((n+k)L) space whether or not C is uniquely decipherable and in O(n 2L) time and O((n + k)L) space whether or not C is multiset decipherable.
This author recognizes partial support from NSF grant CCR-9201345.
Preview
Unable to display preview. Download preview PDF.
References
J. Adámek, Foundations of Coding, Wiley, Chichester, 1991.
A. Apostolico and R. Giancarlo, Pattern matching machine implementation of a fast test for unique decipherability, Information Processing Letters, 18 (1984), 155–158.
J. Berstel and D. Perrin, Theory of Codes, Academic Press, Orlando, 1985.
R. Capocelli, L. Gargano, and U. Vaccaro, A test for the unique decipherability of multivalued encodings, Preprint, Università di Salerno, 1993.
T. Cormen, C. Leiserson, and R. Rivest, Introduction to Algorithms, MIT Press, Cambridge, MA, 1990.
K. Culik II and T. Harju, Dominoes over a free monoid, Theoretical Computer Science, 18 (1982), 279–300.
K. Culik II and T. Harju, Splicing semigroups of dominoes and DNA, Discrete Applied Mathematics, 31 (1991), 261–277.
T. Head and A. Weber, Deciding code related properties by means of finite transducers, in: Sequences II, (R. Capocelli, A. De Santis, and U. Vaccaro, eds.), Springer, New York, Berlin, Heidelberg, 1993, pp. 260–272.
T. Head and A. Weber, Deciding multiset decipherability, IEEE Trans. Information Theory, to appear.
C. Hoffmann, A test on unique decipherability, Proc. MFCS 1984, in: Lecture Notes in Computer Science, 176, Springer, Berlin, Heidelberg, 1984, pp. 50–63.
J. Karhumäki, Multiplicities: a deterministic view of nondeterminism, Theoretical Computer Science, 98 (1992), 15–25.
A. Lempel, On multiset decipherable codes, IEEE Trans. Information Theory, 32 (1986), 714–716.
M. Rodeh, A fast test for unique decipherability based on suffix trees, IEEE Trans. Information Theory, 28 (1982), 648–651.
A. Salomaa, Computation and Automata, Cambridge University Press, Cambridge, 1985.
A. Weber and T. Head, Computing the deciphering delay of a code by means of dominoes, Preprint, J.W. Goethe-Universität, Frankfurt am Main, 1994.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Weber, A., Head, T. (1994). The finest homophonic partition and related code concepts. In: Prívara, I., Rovan, B., Ruzička, P. (eds) Mathematical Foundations of Computer Science 1994. MFCS 1994. Lecture Notes in Computer Science, vol 841. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58338-6_108
Download citation
DOI: https://doi.org/10.1007/3-540-58338-6_108
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58338-7
Online ISBN: 978-3-540-48663-3
eBook Packages: Springer Book Archive