- Category:
- Console
- Tags:
-
[C/C++]
[源码]
- File Size:
- 2kb
- Update:
- 2016-10-24
- Downloads:
- 0 Times
- Uploaded by:
- 水云间
Description: Huffman coding 1. Source symbols are arranged in order of decreasing probability of occurrence. 2, the minimum probability of occurrence of the two merged and the result is obtained as the probability of occurrence of the new symbol. 3, and 2 are repeated until the sum of the probabilities is equal to 1 until the result of step 1. 4, at the time of the merger operation, the probability of a large sign with the code 0 represents the probability is represented by a small symbol coding 1. 5, the recording probability is 0, l to a sequence of symbols between the current source, whereby each of the symbols being encoded.
To Search:
File list (Check if you may need any files):
huffman_code.cpp
Huffman编码简介.txt