/huffman-coding

This is a Java-based program that implements the Huffman compression algorithm to compress generic file types. (Yet to be completed)

Primary LanguageJavaMIT LicenseMIT

Huffman Coding

This Java program implements the Huffman compression algorithm to compress generic files to the designated type .hc .

This project was developed as part of the course Analysis and Design of Algorithms in the Fall 2021 semester at the Faculty of Engineering, Alexandria University, under the Computer and Communications Engineering department, supervised by Dr. Ahmed Kosba. Note: this project is yet to be finished and is yet to be functional.

Prerequisites

This project was developed using IntelliJ IDEA Community Edition 2023.3.4.

Installing

1- Clone the repository to your local machine:

git clone https://github.com/MohEsmail143/huffman-coding.git

2- Run the project by clicking on Run 'Main.main()'.

3- Input c for compression mode, or d for decompression mode.

4- For compression mode, type the file name to be compressed, out of the test_cases folder. For decompression mode, also type out the file name to be decompressed.

5- The compressed file should appear in the format .hc .

License

This project is licensed under the MIT License - see the LICENSE.md file for details