Code Monkey home page Code Monkey logo

huffman's Introduction

Huffman Algorithim

This project Implements Huffman Coding Algorithm in Java with GUI.

Usage

Instructions to Open the program:

Only open the HuffmanMain.jar which will be found under build-jar folder

GUI Interface

The interface has three main tabs namely:

Compress, Decompress, and Build Tree Tab.

In order to use each properly follow the instructions below:

  1. Compress Tab First, click on "No file Chosen" to choose the file to be compressed. Then, click on compress icon after choosing the file. Then, the slide bar perctange shows the compleition out 100%. Finally, after the slide bar completed 100%, it will show the compression information.

Two samples of data namely "Shakesperea, melville" in the data folder were provided that can be used.

the path to data folder is

Huffman/data

  1. Decompress Tab First, click on "No file Chosen" to choose the file to be decompressed. Then, click on decompress icon after choosing the file. Then,the slide bar perctange shows the compleition out 100% Finally, after the slide bar completed 100%, it will show the decompression information.

  1. Build Tree Tab First, insert the text to be displayed. finally, click on build tree after inserting the text.


Important to note that the build tree requires internet connection and may take a bit long to open so please be patient.

Acknowledgments

The main effort of the project was to combine the algorithim and add visiuaization to simulate the algorithim behavior.

huffman's People

Contributors

creativeself0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.