Back to search

Hong Kong University of Science and Technology

Variants of prefix-free codes

Abstract

dc:description

<p>The classic Hufman Coding Problem of finding a minimum cost prefix-free code is almost completely understood. There still exist many variants of this problem which are not as well understood. In this thesis we consider four variants. The first variant requires that none of the codewords ends with a "1". In the literature, the best algorithm known for finding such codes runs in exponential time. The second variant requires that none of the codewords contains "000" as a substring. In the third variant, the size of the encoding alphabets depends on the position of the alphabets within the codewords. In this thesis we use similar approachs to develop simple dynamic programming algorithms for solving these three problems. The running times are O(n<sup>3</sup>), O(n<sup>5</sup>) and O(n<sup>4</sup>) respectively. The fourth variant, requires that the difference between the length of the longest codeword and the shortest codeword can be at most L. In this thesis we develop a simple O(nLlogn) algorithm for solving this problem.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chan, Sze-Lok

Subjects

dc:subject × 1

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Chan, Sze-Lok. Variants of prefix-free codes. 1997. http://repository.hkust.edu.hk/ir/Record/1783.1-5650