Generalized Huffman Coding for Binary Trees with Choosable Edge Lengths

Abstract

In this paper we study binary trees with choosable edge lengths, in particular rooted binary trees with the property that the two edges leading from every non-leaf to its two children are assigned integral lengths l1 and l2 with l1+l2 =k for a constant k∈N. The depth of a leaf is the total length of the edges of the unique root-leaf-path. We present a generalization of the Huffman Coding that can decide in polynomial time if for given values d1,...,dn∈N≥ 0 there exists a rooted binary tree with choosable edge lengths with n leaves having depths at most d1,..., dn.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…