Issue |
RAIRO-Theor. Inf. Appl.
Volume 39, Number 1, January-March 2005
Imre Simon, the tropical computer scientist
|
|
---|---|---|
Page(s) | 263 - 278 | |
DOI | https://doi.org/10.1051/ita:2005015 | |
Published online | 15 March 2005 |
Parity codes
1
Universidade Estadual do Rio de Janeiro, Instituto de Matemática e
Estatística, RJ, Brasil; pauloedp@ime.uerj.br
2
Universidade Federal do Rio de Janeiro,
Instituto de Matemática and NCE,
Caixa Postal 2324, 20001-970, Rio de Janeiro, RJ, Brasil;
fabiop@nce.ufrj.br
3
Universidade Federal do Rio de Janeiro,
Instituto de Matemática, NCE and COPPE, Caixa Postal 2324, 20001-970,
Rio de Janeiro, RJ, Brasil; jayme@nce.ufrj.br
Motivated by a problem posed by Hamming in 1980, we define even codes. They are Huffman type prefix codes with the additional property of being able to detect the occurrence of an odd number of 1-bit errors in the message. We characterize optimal even codes and describe a simple method for constructing the optimal codes. Further, we compare optimal even codes with Huffman codes for equal frequencies. We show that the maximum encoding in an optimal even code is at most two bits larger than the maximum encoding in a Huffman tree. Moreover, it is always possible to choose an optimal even code such that this difference drops to 1 bit. We compare average sizes and show that the average size of an encoding in a optimal even tree is at least 1/3 and at most 1/2 of a bit larger than that of a Huffman tree. These values represent the overhead in the encoding sizes for having the ability to detect an odd number of errors in the message. Finally, we discuss the case of arbitrary frequencies and describe some results for this situation.
Mathematics Subject Classification: 94B35 / 94B65
© EDP Sciences, 2005
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.