登录
首页 » c#,c++,c » 哈弗曼编码

哈弗曼编码

于 2022-03-21 发布 文件大小:931.27 kB
0 127
下载积分: 2 下载次数: 1

代码说明:

利用哈夫曼思想,对需要压缩的文件中的字符进行频率统计,根据统计的频率结果构造哈夫曼树,然后对每个字符进行哈夫曼编码,逐一对被压缩的文件的每个字符构建新的哈夫曼编码,存入新的文件即得到压缩文件。解压过程利用相应的哈夫曼树及压缩文件中的二进制码将编码序列译码,对文件进行解压得到源文件。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表...
    这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表示占有的时间,如果资源闲置则占有资源否则阻塞,等资源释放在占有资源。进程的调用算法我采用的是时间片轮转算法并有所改进,当某个进程从阻塞队列释放后,他将把以前因为等待资源而被浪费的时间补回来。 希望大家多提意见-here no API calls simulations, I set to process its own grammar, the characters importation cpu called only when normal output, said if the $ encountered in the process of system resources to call back with a figure must occupy the time said that if the idle occupies resources Otherwise obstruction, and other resources in the release of resources. Calling the process of the algorithm I use is time-rotate and improved algorithm, a process blocked from Queue After his release, he will wait before because resources were wasted by the time back up. We hope to speak up
    2022-05-01 02:02:05下载
    积分:1
  • 第十届飞思卡尔国赛光电组一等奖源代码
    飞思卡尔光电组国赛一等奖,给学习者提供很好的帮助。
    2022-10-24 21:30:03下载
    积分:1
  • 校园导游咨询基本要求: (1)设计你的学校的校园平面图,所含景点不少于10个(食堂.教学楼。。。。等)。以图中顶点表示学校各景点,存放景点名称、代号、简介等信息...
    校园导游咨询基本要求: (1)设计你的学校的校园平面图,所含景点不少于10个(食堂.教学楼。。。。等)。以图中顶点表示学校各景点,存放景点名称、代号、简介等信息;以边表示路径,存放路径长度等相关信息。(2)为来访客人提供图中任意景点的问路查询,即查询任意两个景点之间的一条最短的简单路径。 (3)为来访客人提供图中任意景点相关信息的查询。测试数据:由读者根据实际情况指定。实现提示:一般情况下,校园的道路是双向通行的,可设校园平面图是一个无向网。顶点和边均含有相关信息-campus tour guides Advisory basic requirements : (a) Design your school campus plan, contained no less than 10 spots (canteens. Teaching Building. . . . Etc.). Vertex to map the school attractions, storage attractions names, code names, profiles and other information; Edge said the path to the storage path length relevant information. (2) to provide visitors arbitrary map of the road attractions inquiries, inquiries between any two spots of a simple shortest path. (3) To provide visitors attractions map arbitrary relevant information inquiries. Test data : Readers designated according to the actual situation. Implementation Tip : Under normal circumstances, the campus is a two-way access road, can be installed campus plan is not to a network. Vertex and b
    2022-03-17 10:24:30下载
    积分:1
  • C语言读取图片后深度处理程序包
    C语言图像处理源代码,清单如下: 256色转灰度图 Hough变换 Walsh变换 对比度拉伸 二值化变换 反色 方块编码 傅立叶变换 高斯平滑 灰度均衡 拉普拉斯锐化 用Canny算子提取边缘 阈值变换 中值滤波 直方图均衡
    2022-03-19 22:45:20下载
    积分:1
  • Joseph-problem
    有N个小孩围坐成一个圆,从某个小孩开始顺序报数,报到M的小孩从圈子中离开, 从下一个小孩重新开始报数。每报到M相应的小孩从圈子离开, 最后一个离开圈子的小孩为胜者。 (N children sitting in a circle, the start sequence from one child reported the number to report child of M from the circle to leave and re-start from the next child reported number. Registration M corresponding child away from the circle, the last child to leave the circle for the winner.)
    2012-10-22 09:59:34下载
    积分:1
  • 最后一个了,呜 ,好累了,管理员,怎么这么搞哟
    最后一个了,呜 ,好累了,管理员,怎么这么搞哟-the last one, Woo, a tired, caretakers, so how engaging yo
    2022-06-13 20:07:51下载
    积分:1
  • xml 加密 解密 文件内容
    xml 加密 解密 文件内容
    2014-03-15下载
    积分:1
  • WCFD技术的介绍,现在新出的技术,大家
    WCFD技术的介绍,现在新出的技术,大家-WCFD technology introduction, and now new technologies, we
    2022-09-14 14:00:02下载
    积分:1
  • PMSM_HALL
    根据2.0自己修改的代码,已验证过,通过检测霍尔来计算角度。有速度环。
    2023-06-28 11:45:04下载
    积分:1
  • LINUX磁盘文件系统命令全集
    LINUX磁盘文件系统命令全集-LINUX disk file system ordered confined.
    2022-04-20 16:09:50下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载