-
insighttoolkit
InsightToolkit-1.4.0(有大量的优化算法程序)-InsightToolkit-1.4.0 (have a large number of optimization algorithms Procedure)
- 2023-08-26 22:45:07下载
- 积分:1
-
decompress rar under the program source code
在linux下解压缩rar的程序源代码 -decompress rar under the program source code
- 2022-03-17 18:58:18下载
- 积分:1
-
vc编写的基于哈夫曼的文件压缩程序,解压后即可运行,
vc编写的基于哈夫曼的文件压缩程序,解压后即可运行,-vc prepared a document-based Huffman compression procedure, immediately after decompression operation,
- 2022-01-31 11:18:06下载
- 积分:1
-
Implementation for the Huffman Cod in Visual C++.
Both, the encoder and the d...
Implementation for the Huffman Cod in Visual C++.
Both, the encoder and the decoder take as input a file and write the output into another file.-Implementation for the Huffman Cod in Visual C++.
Both, the encoder and the decoder take as input a file and write the output into another file.
- 2022-01-24 16:56:24下载
- 积分:1
-
关于哈弗曼树的编码译码,以及用文件形式输出的的算法
关于哈弗曼树的编码译码,以及用文件形式输出的的算法-哈弗曼tree on the codec, and the documentary form of the algorithm output
- 2022-03-01 16:09:28下载
- 积分:1
-
A
- 2022-01-26 04:01:35下载
- 积分:1
-
这是小波变换的一个源代码,vc实现,很有用的哦,希望对大家有所帮助。...
这是小波变换的一个源代码,vc实现,很有用的哦,希望对大家有所帮助。-This is a wavelet transform source code, vc realized, very useful Oh, we want to help.
- 2022-02-14 23:52:38下载
- 积分:1
-
它是用来在UNIX文件建议紧凑。
gzip源码,用于压缩,在unix下使用的主流压缩工具,建议参考-it is used to compact files in unix.It is recommended.
- 2022-08-20 04:57:16下载
- 积分:1
-
一个很好的系统设计,详细的说明和精确明了的图说明
一个很好的系统设计,详细的说明和精确明了的图说明-A good system design, detailed and accurate understanding of the illustrated
- 2022-02-02 00:58:51下载
- 积分:1
-
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输...
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输出形式:
输出相应的编码压缩文件和解码原文件
3) 程序所能达到的功能:
利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入或者输出文本框是不是有空的,是不是不是有效路径。进行条件判断,实现错误处理。
比如要压缩:c:a.txt 文件路径就是:c:a.txt。如果输入框是空的,就判断,然后用MessageBox处理信息。
如果文件路径和文件的输出路径都写正确的话,就会输出相应的压缩或者解压文件,否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈夫曼树的特点
a) 是二叉树的一种,而且是一种没有度数是1的二叉树
b) 一棵树有n个叶子,就会用2n-1个节点
c) 一种“最优”二叉树,由于树的带权路径(WPL)最小
d) 由于它是由下到上顺序构造的,使得分支节点和叶子节点从下到上,权值都是从小到大的顺序排列的
- 2022-03-21 06:23:05下载
- 积分:1