Constructs a Huffman Tree for Unicode Character Data, Utilizes Google's Guava
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
guava
src/huffman
.classpath
.gitignore
.project
README.md

README.md

HuffmanCoding

This is a partial implementation of the Huffman compression algorithm in Java.

The Java implementation, utilizing Google's Guava library, constructs a Huffman Tree for Unicode data.

The key file here is "HuffmanEncoder.java," which is a singleton factory that produces a Huffman tree. It can either produce a tree from a Multiset of character-frequencies or directly from a file or string, via Java's own BufferedReader.