Online prefix-free encoding algorithm

  • Authors:
  • Natthapon Punthong;Athasit Surarerks

  • Affiliations:
  • ELITE (Engineering Laboratory in Theoretical Enumerable System), Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University, Pathumwan, Bangkok, Thailand;ELITE (Engineering Laboratory in Theoretical Enumerable System), Department of Computer Engineering, Faculty of Engineering, Chulalongkorn University, Pathumwan, Bangkok, Thailand

  • Venue:
  • SPPRA'06 Proceedings of the 24th IASTED international conference on Signal processing, pattern recognition, and applications
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

The well-known Huffman encoding algorithm explicitly constructs the optimal codes. However, in the context of data communications, data encoded are usually online sent from one to another source. The Huffman algorithm is clearly inappropriate for online encoding because the whole data are not known before starting the process. In this paper, we present online prefix-free encoding and decoding algorithms. Theoretical result shows that the encoding tree obtained from the algorithm satisfies the code length property of an optimal solution. Experimental results showed that the obtained average code length is close to the one resulted from Huffman algorithm and the entropy of input data.