Encoding Trees: A Method for Producing a Variable-Length Prefix Code From Sets of Arbitrary Size
Bryony H. Laporte, Karen Rudie
Abstract
In this work we formalize a new class of binary trees called encoding trees. We extend this structure in two ways, through labelling to create the class of labelled encoding trees, and pruning to create the class of pruned encoding trees. We discuss how these two extensions can be combined to create the the class of pruned labelled encoding trees. Using the supplementary results that we prove about these classes of trees, we construct a code that uses pruned labelled encoding trees to convert a string of symbols from a sequence of non-empty sets to a binary string. We prove that this code is a variable-length prefix code that can process any valid string of symbols from the given sequence of non-empty sets. Furthermore, we construct a code from the class of pruned labelled encoding trees that goes in the opposite direction, from binary strings to a string of symbols from a sequence of non-empty sets of arbitrary symbols. We prove that this code is also a variable-length prefix code that can process any binary string of any length, provided that the sequence of non-empty sets is sufficiently long. We provide an equation that establishes the minimum sequence length to encode any binary string of a given length, based on that length.
Create a lesson
Related papers
Variable-Length Feedback Coding With Universal Decoding and Bandit Channel Selection
Shared title terminology · Recep Can Yavas
Euclidean Hulls of Double Cyclic Codes of Arbitrary Block Lengths
Shared title terminology · Awadhesh Kumar Shukla, Om Prakash Pandey, Sachin Pathak et al.
Length Bounds for MDS Algebraic Geometry Codes of Arbitrary Positive Genus
Shared title terminology · Haojie Chen, Chuangqiang Hu, Guorui Ma
Coding Length and Optimal Power Allocation in Correlated Block Fading
Shared title terminology · Haoran Xu, Huazhong Zhao
Minimum Synthesis Time for Single-Deletion Correcting Codes of Prescribed Size
Shared title terminology · Yuling Li, Wenjun Yu, Gennian Ge
MDS Algebraic Geometry Codes of Square-Root Length on Hyperelliptic Curves
Shared title terminology · Chuangqiang Hu, Guorui Ma