pith. sign in

arxiv: 0809.0949 · v3 · pith:ARE7UNPNnew · submitted 2008-09-05 · 💻 cs.IT · cs.DS· math.IT

Efficient Implementation of the Generalized Tunstall Code Generation Algorithm

classification 💻 cs.IT cs.DSmath.IT
keywords numbertunstallalgorithmcodeleavesmethodoutputsources
0
0 comments X
read the original abstract

A method is presented for constructing a Tunstall code that is linear time in the number of output items. This is an improvement on the state of the art for non-Bernoulli sources, including Markov sources, which require a (suboptimal) generalization of Tunstall's algorithm proposed by Savari and analytically examined by Tabus and Rissanen. In general, if n is the total number of output leaves across all Tunstall trees, s is the number of trees (states), and D is the number of leaves of each internal node, then this method takes O((1+(log s)/D) n) time and O(n) space.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.