Parity codes
RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications, Tome 39 (2005) no. 1, pp. 263-278.

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.

DOI : 10.1051/ita:2005015
Classification : 94B35, 94B65
@article{ITA_2005__39_1_263_0,
     author = {Pinto, Paulo E. D. and Protti, F\'abio and Szwarcfiter, Jayme L.},
     title = {Parity codes},
     journal = {RAIRO - Theoretical Informatics and Applications - Informatique Th\'eorique et Applications},
     pages = {263--278},
     publisher = {EDP-Sciences},
     volume = {39},
     number = {1},
     year = {2005},
     doi = {10.1051/ita:2005015},
     mrnumber = {2132591},
     zbl = {1086.94036},
     language = {en},
     url = {http://www.numdam.org/articles/10.1051/ita:2005015/}
}
TY  - JOUR
AU  - Pinto, Paulo E. D.
AU  - Protti, Fábio
AU  - Szwarcfiter, Jayme L.
TI  - Parity codes
JO  - RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications
PY  - 2005
SP  - 263
EP  - 278
VL  - 39
IS  - 1
PB  - EDP-Sciences
UR  - http://www.numdam.org/articles/10.1051/ita:2005015/
DO  - 10.1051/ita:2005015
LA  - en
ID  - ITA_2005__39_1_263_0
ER  - 
%0 Journal Article
%A Pinto, Paulo E. D.
%A Protti, Fábio
%A Szwarcfiter, Jayme L.
%T Parity codes
%J RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications
%D 2005
%P 263-278
%V 39
%N 1
%I EDP-Sciences
%U http://www.numdam.org/articles/10.1051/ita:2005015/
%R 10.1051/ita:2005015
%G en
%F ITA_2005__39_1_263_0
Pinto, Paulo E. D.; Protti, Fábio; Szwarcfiter, Jayme L. Parity codes. RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications, Tome 39 (2005) no. 1, pp. 263-278. doi : 10.1051/ita:2005015. http://www.numdam.org/articles/10.1051/ita:2005015/

[1] N. Faller, An adaptive Method for Data Compression, in Record of the 7th Asilomar Conference on Circuits, Systems and Computers, Naval Postgraduate School, Monterrey, Ca. (1973) 593-597. | Zbl

[2] R.G. Gallager, Variations on a Theme by Huffman. IEEE Trans. Inform. Theory 24 (1978) 668-674. | Zbl

[3] R.W. Hamming, Coding And Information Theory. Prentice Hall (1980). | MR | Zbl

[4] D.A. Huffman, A Method for the Construction of Minimum Redundancy Codes, in Proc. of the IRE 40 (1951) 1098-1101.

[5] D.E. Knuth, The Art of Computer Programming. Addison Wesley (1973). | MR | Zbl

[6] D.E. Knuth, Dynamic Huffman Coding. J. Algorithms 6 (1985) 163-180. | Zbl

[7] E.S. Laber, Um algoritmo eficiente para construção de códigos de prefixo com restrição de comprimento. Master Thesis, PUC-RJ, Rio de Janeiro (1997).

[8] L.L. Larmore and D.S. Hirshberg, A fast algorithm for optimal length-limited Huffman codes. JACM 37 (1990) 464-473. | Zbl

[9] R.L. Milidiu, E.S. Laber and A.A. Pessoa, Improved Analysis of the FGK Algorithm. J. Algorithms 28 (1999) 195-211. | Zbl

[10] R.L. Milidiu and E.S. Laber, The Warm-up Algorithm: A Lagrangean Construction of Length Restricted Huffman Codes. SIAM J. Comput. 30 (2000) 1405-1426. | Zbl

[11] R.L. Milidiu and E.S. Laber, Improved Bounds on the Inefficiency of Length Restricted Codes. Algorithmica 31 (2001) 513-529. | Zbl

[12] A. Turpin and A. Moffat, Practical length-limited coding for large alphabets. Comput. J. 38 (1995) 339-347.

[13] P.E.D Pinto, F. Protti and J.L. Szwarcfiter, A Huffman-Based Error Detection Code, in Proc. of the Third International Workshop on Experimental and Efficient Algorithms (WEA 2004), Angra dos Reis, Brazil, 2004. Lect. Notes Comput. Sci. 3059 (2004) 446-457.

[14] E.S. Schwartz, An Optimum Encoding with Minimal Longest Code and Total Number of Digits. Inform. Control 7 (1964) 37-44. | Zbl

Cité par Sources :