Skip to content

anton2mihail/huffman-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huffman-encoding

an encoder/decoder utility written in java

To Encode
It takes the name of the program and the text file to encode as command line arguments and encodes it using the huffman technique, returning a text file of the same name with the extension '.cmp'

To Decode
It takes the name of the program and the name of the text file with the extension '.cmp' as command line arguments, and it returns the exact same file that was initially encoded with the extension '.dcp'
The text files included:
Including the '.dcp' files have been included as examples of text files to test. It is best to use this utility by first configuring the command line arguments directly from eclipse.