Skip to content
#

ternary-huffman

Here is 1 public repository matching this topic...

A modified Huffman algorithm is implemented for compressing sequences of characters from an alphabet of size n, where the characters occur with known frequencies f1, f2, …, fn. The algorithm encodes each character with a variable-length codeword over the values 0, 1, 2 such that no codeword is a prefix of another codeword and so as to obtain the…

  • Updated Jun 6, 2021
  • C++

Improve this page

Add a description, image, and links to the ternary-huffman topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ternary-huffman topic, visit your repo's landing page and select "manage topics."

Learn more