DocumentCode
2707019
Title
Generalizing the Kraft-McMillan inequality to restricted languages
Author
Golin, Mordecai J. ; Na, Hyeon-Suk
Author_Institution
Dept. of Comput. Sci., Hong Kong Univ. of Sci. & Technol., Kowloon, China
fYear
2005
fDate
29-31 March 2005
Firstpage
163
Lastpage
172
Abstract
Let ℓ 1,ℓ 2,...,ℓ n be a (possibly infinite) sequence of nonnegative integers and Σ some D-ary alphabet. The Kraft-inequality states that ℓ 1,ℓ 2,...,ℓ n are the lengths of the words in some prefix (free) code over Σ if and only if Σi=1nD-ℓ i≤1. Furthermore, the code is exhaustive if and only if equality holds. The McMillan inequality states that if ℓ n are the lengths of the words in some uniquely decipherable code, then the same condition holds. In this paper we examine how the Kraft-McMillan inequality conditions for the existence of a prefix or uniquely decipherable code change when the code is not only required to be prefix but all of the codewords are restricted to belong to a given specific language L. For example, L might be all words that end in a particular pattern or, if Σ is binary, might be all words in which the number of zeros equals the number of ones.
Keywords
binary codes; string matching; tree codes; Kraft-McMillan inequality; binary codes; binary trees; pattern matching; restricted languages; uniquely decipherable code; Code standards; Computational Intelligence Society; Computer science; Data compression;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Compression Conference, 2005. Proceedings. DCC 2005
ISSN
1068-0314
Print_ISBN
0-7695-2309-9
Type
conf
DOI
10.1109/DCC.2005.42
Filename
1402177
Link To Document