搜索资源列表
hfmcpp
- 赫夫曼编码本程序实现了使用赫夫曼编码压缩数据;输入一串字符串sourceCode——为方便理解,暂时要求字符串只包含大写字母和空格,如果你愿意, 很容易就可以推广到所有的字符——计算出字符串中各个字母的权重,然后对其进行赫夫曼编码,输出赫夫曼树。 将赫夫曼树的叶子结点存储到有序二叉树中,输出原字符串经压缩后得到的用 0 和 1 表示的新字符串destCode; 然后利用赫夫曼树将字符串destCode进行译码,得到目标字符串objCode,比较objCode和sourceCod
comprehensive-
- 模糊综合评判算法(C语言版本)2008年01月05日 星期六 22:24本算法评价集个数为5,评价因子个数为6,采用超标加权法计算权重,线性降半阶隶属函数-The fuzzy comprehensive evaluation algorithm (C language version)
TREE
- 在visual C++环境中实现图的最小生成树的生成,并实现最小生成树的权重的计算-Heavy computing implemented in visual C++ environment, minimum spanning tree graph generation and achieve the minimum spanning tree right
shortest-path
- 最短路径算法,对于权重图最短路径计算的基本算法-Shortest path algorithm, the basic algorithm for computing the shortest path weight of FIG.