由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 请问,我怎么能简洁的证明这个Huffman tree 问题?
相关主题
没完的“unresolved external symbol” in c++ compiling[合集] 请教C/C++/JAVA输入问题
xgb.dump 怎么多输出两棵树?请教VB的条件判断语句
GO似乎是目前最难反编译的代码了perl 小问题
[合集] 问个算法问题J 语言 --最短的语言?
这个同学很神一定要掌握一门最简洁的语言
求 adaptive Huffman coding, C or C++ 源码Javascript问题
算CRC好费CPU啊发现gulp不错啊
[合集] 看了一段时间haskell,感觉被骗了grunt太强大了
相关话题的讨论汇总
话题: huffman话题: tree话题: symbol话题: 简洁话题: leaf
进入Programming版参与讨论
1 (共1页)
t**********s
发帖数: 930
1
请问,我怎么能简洁的证明这个Huffman tree 问题?
Suppose T is a Huffman tree, and that the leaf for symbol a has greater
depth than the leaf for symbol b. Prove that the probability of symbol b is
no less than that of a.
谢谢
t****t
发帖数: 6806
2
这还不会证,如果P(b)比P(a)小,那两个换一换就得到一个更优的code,和huffman的最优
性矛盾

is

【在 t**********s 的大作中提到】
: 请问,我怎么能简洁的证明这个Huffman tree 问题?
: Suppose T is a Huffman tree, and that the leaf for symbol a has greater
: depth than the leaf for symbol b. Prove that the probability of symbol b is
: no less than that of a.
: 谢谢

t**********s
发帖数: 930
3
我也想这么证来着,就是觉得是不是太简单了点儿。

【在 t****t 的大作中提到】
: 这还不会证,如果P(b)比P(a)小,那两个换一换就得到一个更优的code,和huffman的最优
: 性矛盾
:
: is

t****t
发帖数: 6806
4
那你想要怎样,非要把huffman tree的性质推一遍?

【在 t**********s 的大作中提到】
: 我也想这么证来着,就是觉得是不是太简单了点儿。
1 (共1页)
进入Programming版参与讨论
相关主题
grunt太强大了这个同学很神
我的解法更简洁求 adaptive Huffman coding, C or C++ 源码
windows里有没有类似unix里nm 的东西?算CRC好费CPU啊
cannot trace var values in vs2005[合集] 看了一段时间haskell,感觉被骗了
没完的“unresolved external symbol” in c++ compiling[合集] 请教C/C++/JAVA输入问题
xgb.dump 怎么多输出两棵树?请教VB的条件判断语句
GO似乎是目前最难反编译的代码了perl 小问题
[合集] 问个算法问题J 语言 --最短的语言?
相关话题的讨论汇总
话题: huffman话题: tree话题: symbol话题: 简洁话题: leaf