|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Want a new Job?
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
IntroductionHuffman algorithm is quite simple (In theory at least), the idea is based to the fact that in Main steps: - Scan the data source from the begining till the end, list in a table bytes that appears and -Now we need to build some kind of tree(you'll get it later), take the 2 bytes that appeared -We will give each byte that was in the file different value, the number of right and -Extracting is easier (Save the original table we made as the start, first of all before HuffmanAlgorithm object-Uses huffman algorithm to extract\archive any types of data stream. -Each extracting\archiving function has vesion thats pops event handler each time one
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||