文件名称:suanshu
介绍说明--下载内容均来自于网络,请自行研究使用
首先,计算出码元符号集中各个码元的累积概率,并存放在F数组里面。
然后,开始循环编码,直至输入序列循环完毕。
最后,将所得的累计概率由小数形式转化成二进制形式。
对解码。首先,计算码元符号集中各个码元的累积概率,并存放在F数组里面。
然后,开始循环解码,此次循环是在码元符号集中,由高概率码元向低概率码元循环,这是由于编码的输出肯定是不大于高概率码元的累积概率的。那么如果我们从高到底循环,所找到的第一个小于编码结果fs的码元即为所译码的码元。
最后,我们可以利用此码元在码元符号集中的位置和其概率分布数组中的位置是一一对应的性质,找到码元并复制到输出数组中去即可。
-First, calculate the concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning the cycle encoded input sequence until the cycle has finished.
Finally, the cumulative probability derived from decimal form into binary form.
For decoding. First of all, the calculated concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning decoding cycle, the cycle is concentrated at key element symbol by a high probability to low probability of symbol-symbol cycle, This is because the output code is definitely not a high probability of symbol is greater than the cumulative probability. Well, if we in the end from a high cycle, found the results of the first encoding is less than fs is the symbol by symbol decoding.
Finally, we can use this symbol at symbol symbol centralized location and its probability distribution of the location of the array are the natu
然后,开始循环编码,直至输入序列循环完毕。
最后,将所得的累计概率由小数形式转化成二进制形式。
对解码。首先,计算码元符号集中各个码元的累积概率,并存放在F数组里面。
然后,开始循环解码,此次循环是在码元符号集中,由高概率码元向低概率码元循环,这是由于编码的输出肯定是不大于高概率码元的累积概率的。那么如果我们从高到底循环,所找到的第一个小于编码结果fs的码元即为所译码的码元。
最后,我们可以利用此码元在码元符号集中的位置和其概率分布数组中的位置是一一对应的性质,找到码元并复制到输出数组中去即可。
-First, calculate the concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning the cycle encoded input sequence until the cycle has finished.
Finally, the cumulative probability derived from decimal form into binary form.
For decoding. First of all, the calculated concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning decoding cycle, the cycle is concentrated at key element symbol by a high probability to low probability of symbol-symbol cycle, This is because the output code is definitely not a high probability of symbol is greater than the cumulative probability. Well, if we in the end from a high cycle, found the results of the first encoding is less than fs is the symbol by symbol decoding.
Finally, we can use this symbol at symbol symbol centralized location and its probability distribution of the location of the array are the natu
(系统自动生成,下载前可以参看下载内容)
下载文件列表
weiyikeyi.cpp