Optimal Skeleton Huffman Trees Revisited

01/15/2020
by   Dmitry Kosolobov, et al.
0

A skeleton Huffman tree is a Huffman tree in which all disjoint maximal perfect subtrees are shrunk into leaves. Skeleton Huffman trees, besides saving storage space, are also used for faster decoding and for speeding up Huffman-shaped wavelet trees. In 2017 Klein et al. introduced an optimal skeleton tree: for given symbol frequencies, it has the least number of nodes among all optimal prefix-free code trees (not necessarily Huffman's) with shrunk perfect subtrees. Klein et al. described a simple algorithm that, for fixed codeword lengths, finds a skeleton tree with the least number of nodes; with this algorithm one can process each set of optimal codeword lengths to find an optimal skeleton tree. However, there are exponentially many such sets in the worst case. We describe an O(n^2log n)-time algorithm that, given n symbol frequencies, constructs an optimal skeleton tree and its corresponding optimal code.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/01/2018

An O(n n) time Algorithm for computing the Path-length Distance between Trees

Tree comparison metrics have proven to be an invaluable aide in the reco...
research
03/08/2017

Cost-Optimal Learning of Causal Graphs

We consider the problem of learning a causal graph over a set of variabl...
research
10/18/2021

Fast tree skeleton extraction using voxel thinning based on tree point cloud

Tree skeleton plays an important role in tree structure analysis, forest...
research
03/30/2018

On the Diameter of Tree Associahedra

We consider a natural notion of search trees on graphs, which we show is...
research
07/17/2020

A fast approximate skeleton with guarantees for any cloud of points in a Euclidean space

The tree reconstruction problem is to find an embedded straight-line tre...
research
08/12/2021

Space-Efficient Huffman Codes Revisited

Canonical Huffman code is an optimal prefix-free compression code whose ...
research
05/16/2022

Expected Frequency Matrices of Elections: Computation, Geometry, and Preference Learning

We use the "map of elections" approach of Szufa et al. (AAMAS 2020) to a...

Please sign up or login with your details

Forgot password? Click here to reset