Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-8kt4b Total loading time: 0 Render date: 2024-06-27T13:33:12.062Z Has data issue: false hasContentIssue false

4 - Ordered Trees

Published online by Cambridge University Press:  05 June 2012

Guy Even
Affiliation:
Tel-Aviv University
Get access

Summary

Uniquely Decipherable Codes

Let Σ = {0, 1, …, σ – 1}. We call Σ an alphabet and its elements are called letters; the number of letters in Σ is σ. (Except for this numerical use of σ, the “numerical” value of the letters is ignored; they are just “meaningless” characters. We use the numerals just because they are convenient characters.) A finite sequence a1a2al, where ai is a letter, is called a word whose length is l. We denote the length of a word w by l(w). A set of (nonempty and distinct) words is called a code. For example, the code {102, 21,00} consists of three code-words: one code-word of length 3 and two code-words of length 2; the alphabet is {0, 1,2} and consists of three letters. Such an alphabet is called “ternary”.

Let c1,c2,…,ck be code-words. The message c1c2ck is the word resulting from the concatenation of the code-word c1 with c2, and so on. For example, if c1 = 00, c2 = 21, and c3 = 00, then c1c2c3 = 002100.

A code C over Σ (i.e., the code-words of C consist of letters in Σ) is said to be uniquely decipherable (UD) if every message constructed from code-words of C can be broken down into code-words of C in only one way. For example, the code {01, 0,10} is not UD because the message 010 can be parsed in two ways: 0,10 and 01, 0.

Type
Chapter
Information
Graph Algorithms , pp. 65 - 84
Publisher: Cambridge University Press
Print publication year: 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

[1] Sardinas, A. A., and Patterson, G. W., “A Necessary and Sufficient Condition for the Unique Decomposition of Coded Messages,” IRE Convention Record, Part 8, 1953, pp. 104–108.
[2] Gallager, R. G., Information Theory and Reliable Communication, John Wiley, 1968. Problem 3.4, page 512.Google Scholar
[3] Levenshtein, V. I., “Certain Properties of Code Systems,” Dokl. Akad. Nauk, SSSR, Vol. 140, No. 6, Oct. 1961, pp. 1274–1277. English translation: Soviet Physics, “Doklady,” Vol. 6, April 1962, pp. 858–860.Google Scholar
[4] Even, S., “Test for Unique Decipherability,” IEEE Trans. on Infor. Th., Vol. IT-9, No. 2, April 1963, pp. 109–112.Google Scholar
[5] Levenshtein, V. I., “Self-Adaptive Automata for Coding Messages,” Dokl. Akad. Nauk, SSSR, Vol 140, Dec. 1961, pp. 1320–1323. English translation: Soviet Physics, “Doklady,” Vol. 6, June 1962, pp. 1042–1045.Google Scholar
[6] Markov, Al. A., “On Alphabet Coding,” Dokl. Akad. Nauk, SSSR, Vol. 139, July 1961, pp. 560–561. English translation: Soviet Pysics, “Doklady,” Vol. 6, Jan. 1962, pp. 553–554.Google Scholar
[7] Even, S., “Test for Synchronizability of Finite Automata and Variable Length Codes,” IEEE Trans. on Infor. Th., Vol. IT-10, No. 3, July 1964, pp. 185–189.Google Scholar
[8] McMillan, B., “Two Inequalities Implied by Unique Decipherability,” IRE Tran. on Infor. Th., Vol. IT-2, 1956, pp. 115–116.Google Scholar
[9] Karush, J., “A Simple Proof of an Inequality of McMillan,” IRE Tran. on Infor. Th., Vol. IT-7, 1961, pp. 118.CrossRefGoogle Scholar
[11] Huffman, D. A., “A Method for the Construction of Minimum Redundancy Codes,” Proc. IRE, Vol. 40, No. 10, 1952, pp. 1098–1101.CrossRefGoogle Scholar
[12] Perl, Y., Garey, M. R., and Even, S., “Efficient Generation of Optimal Prefix Code: Equiprobable Words Using Unequal Cost Letters,” J.ACM, Vol. 22, No. 2, April 1975, pp. 202–214.CrossRefGoogle Scholar
[13] Itai, A., “Optimal Alphabetic Trees,” SIAM J. Comput., Vol. 5, No. 1, March 1976, pp. 9–18.CrossRefGoogle Scholar
[14] Knuth, D. E., The Art of Computer Programming, Vol.3: Sorting and Searching, Addison-Wesley, 1973.Google Scholar
[15] Burge, W. H., “Sorting, Trees, and Measures of Order,” Infor. and Control, Vol. 1, 1958, pp. 181–197.CrossRefGoogle Scholar

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Ordered Trees
  • Shimon Even
  • Edited by Guy Even, Tel-Aviv University
  • Book: Graph Algorithms
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139015165.007
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Ordered Trees
  • Shimon Even
  • Edited by Guy Even, Tel-Aviv University
  • Book: Graph Algorithms
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139015165.007
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Ordered Trees
  • Shimon Even
  • Edited by Guy Even, Tel-Aviv University
  • Book: Graph Algorithms
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139015165.007
Available formats
×