Parity codes
Autor(a) principal: | |
---|---|
Data de Publicação: | 2004 |
Outros Autores: | , |
Tipo de documento: | Relatório |
Idioma: | eng |
Título da fonte: | Repositório Institucional da UFRJ |
Texto Completo: | http://hdl.handle.net/11422/1936 |
Resumo: | 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 i 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 thet the maximum encoding in an optmal even code is at most two bits larger than the maximum encoding. in a Hauffman tree. Moreover, it is always possible to choose an optimal even code such that this difference drops to 1 bit. Finally, we compare average sizes. We 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 hability to detect an odd number of errors in the message. |
id |
UFRJ_52d5a2d97fe694324d8f617b10af064b |
---|---|
oai_identifier_str |
oai:pantheon.ufrj.br:11422/1936 |
network_acronym_str |
UFRJ |
network_name_str |
Repositório Institucional da UFRJ |
repository_id_str |
|
spelling |
Parity codesCódigos de paridadeCNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAOMotivated 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 i 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 thet the maximum encoding in an optmal even code is at most two bits larger than the maximum encoding. in a Hauffman tree. Moreover, it is always possible to choose an optimal even code such that this difference drops to 1 bit. Finally, we compare average sizes. We 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 hability to detect an odd number of errors in the message.BrasilInstituto Tércio Pacitti de Aplicações e Pesquisas Computacionais2017-05-09T16:43:19Z2023-12-21T03:00:53Z2004-12-31info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/reportPINTO, P. E. D. ; PROTTI, F. ; SZWARCFITER, J. L. Parity Codes. Rio de Janeiro: NCE, UFRJ, 2004. 15 p. (Relatório Técnico, 01/04)http://hdl.handle.net/11422/1936engRelatório Técnico NCEPinto, Paulo Eustáquio DuarteProtti, FabioSzwarcfiter, Jayme Luizinfo:eu-repo/semantics/openAccessreponame:Repositório Institucional da UFRJinstname:Universidade Federal do Rio de Janeiro (UFRJ)instacron:UFRJ2023-12-21T03:00:53Zoai:pantheon.ufrj.br:11422/1936Repositório InstitucionalPUBhttp://www.pantheon.ufrj.br/oai/requestpantheon@sibi.ufrj.bropendoar:2023-12-21T03:00:53Repositório Institucional da UFRJ - Universidade Federal do Rio de Janeiro (UFRJ)false |
dc.title.none.fl_str_mv |
Parity codes |
title |
Parity codes |
spellingShingle |
Parity codes Pinto, Paulo Eustáquio Duarte Códigos de paridade CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
title_short |
Parity codes |
title_full |
Parity codes |
title_fullStr |
Parity codes |
title_full_unstemmed |
Parity codes |
title_sort |
Parity codes |
author |
Pinto, Paulo Eustáquio Duarte |
author_facet |
Pinto, Paulo Eustáquio Duarte Protti, Fabio Szwarcfiter, Jayme Luiz |
author_role |
author |
author2 |
Protti, Fabio Szwarcfiter, Jayme Luiz |
author2_role |
author author |
dc.contributor.author.fl_str_mv |
Pinto, Paulo Eustáquio Duarte Protti, Fabio Szwarcfiter, Jayme Luiz |
dc.subject.por.fl_str_mv |
Códigos de paridade CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
topic |
Códigos de paridade CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
description |
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 i 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 thet the maximum encoding in an optmal even code is at most two bits larger than the maximum encoding. in a Hauffman tree. Moreover, it is always possible to choose an optimal even code such that this difference drops to 1 bit. Finally, we compare average sizes. We 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 hability to detect an odd number of errors in the message. |
publishDate |
2004 |
dc.date.none.fl_str_mv |
2004-12-31 2017-05-09T16:43:19Z 2023-12-21T03:00:53Z |
dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
dc.type.driver.fl_str_mv |
info:eu-repo/semantics/report |
format |
report |
status_str |
publishedVersion |
dc.identifier.uri.fl_str_mv |
PINTO, P. E. D. ; PROTTI, F. ; SZWARCFITER, J. L. Parity Codes. Rio de Janeiro: NCE, UFRJ, 2004. 15 p. (Relatório Técnico, 01/04) http://hdl.handle.net/11422/1936 |
identifier_str_mv |
PINTO, P. E. D. ; PROTTI, F. ; SZWARCFITER, J. L. Parity Codes. Rio de Janeiro: NCE, UFRJ, 2004. 15 p. (Relatório Técnico, 01/04) |
url |
http://hdl.handle.net/11422/1936 |
dc.language.iso.fl_str_mv |
eng |
language |
eng |
dc.relation.none.fl_str_mv |
Relatório Técnico NCE |
dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
eu_rights_str_mv |
openAccess |
dc.publisher.none.fl_str_mv |
Brasil Instituto Tércio Pacitti de Aplicações e Pesquisas Computacionais |
publisher.none.fl_str_mv |
Brasil Instituto Tércio Pacitti de Aplicações e Pesquisas Computacionais |
dc.source.none.fl_str_mv |
reponame:Repositório Institucional da UFRJ instname:Universidade Federal do Rio de Janeiro (UFRJ) instacron:UFRJ |
instname_str |
Universidade Federal do Rio de Janeiro (UFRJ) |
instacron_str |
UFRJ |
institution |
UFRJ |
reponame_str |
Repositório Institucional da UFRJ |
collection |
Repositório Institucional da UFRJ |
repository.name.fl_str_mv |
Repositório Institucional da UFRJ - Universidade Federal do Rio de Janeiro (UFRJ) |
repository.mail.fl_str_mv |
pantheon@sibi.ufrj.br |
_version_ |
1815455963375730688 |