登录
首页 » 数据结构 » 哈弗曼编码/译码系统

哈弗曼编码/译码系统

于 2022-03-09 发布 文件大小:962.37 kB
0 258
下载积分: 2 下载次数: 1

代码说明:

设计一个哈夫曼编码、译码系统。对一个ASCII编码的文本文件中的字符进行哈夫曼编码,生成编码文件;反过来,可将编码文件译码还原为一个文本文件。1.初始化。任意读入一个ASCII编码的文件,统计数据,建立哈夫曼树。2.编码。利用已建立的哈夫曼树给出每个字符的哈夫曼编码。3.图形化输出哈夫曼树中各结点以及哈夫曼编码。4.译码。利用已建立的哈夫曼树对输入文件进行译码并存储为.huf压缩文件。5.反译码。将huf文件译码为ASCII编码的txt文件,与原txt文件进行比较。

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

发表评论

0 个回复

  • workbooks that you s
    作业练习题 你们-workbooks that you s
    2022-01-26 05:49:43下载
    积分:1
  • 数据库的实例,提供的第一个字母,汉字转换…
    数据库实例,提供了汉字首字母转换的详细信息,相信大家能得到。
    2023-05-26 17:30:03下载
    积分:1
  • 使用自适应和Huffman编码,和附带的图形界面
    使用tc2的adaptive huffman编码,并附带图形界面-use of adaptive vs. Huffman coding, and incidental graphical interface
    2022-11-14 03:05:04下载
    积分:1
  • sdgbf dChAT SDB
    xbcnv提示:你将获得积分(0-20)的基础上,你的产品质量
    2022-03-11 04:21:10下载
    积分:1
  • JSP个人求职管理系统
    jsp个人求职管理系统-jsp personal job management system
    2023-07-04 00:00:03下载
    积分:1
  • 只是关于数据结构的同步教材的例子,在这里可以帮助大家轻松的学习数据结构。...
    只是关于数据结构的同步教材的例子,在这里可以帮助大家轻松的学习数据结构。-Only on the data structure example of synchronous teaching materials here to help everyone easily learning data structures.
    2022-04-30 15:17:54下载
    积分:1
  • 数据结构:顺序表
    数据结构:顺序表-data structure : the order form
    2022-02-24 14:50:29下载
    积分:1
  • 在java中链接数据库,代码量不多,但是麻雀虽小,五脏俱全!...
    在java中链接数据库,代码量不多,但是麻雀虽小,五脏俱全!-in which links database, code volume is small, sparrow is small, perfectly formed!
    2023-08-22 20:25:04下载
    积分:1
  • 1。我用VC 6编写的程序,包括过程的顺序…
    1.本程序由本人采用vc++ 6.0编写,包括了排序平衡二叉树的整套算法(包括插入、删除、查找以及其测试算法)。 2.运行myavl_vc.exe输入树的初始结点个数,确定后本程序将在内存中生成一棵相应结点数的二叉树,在此基础上你可以进行各种操作(插入、删除、查找以及测试其平衡性、排序性等) 3.每一个结点信息包括"商品编码"、"商品名称",且以"商品编码"作为关键字 4.初始生成的树的结点的商品编码为从1按顺序递增,商品名称为"生成的商品"加上商品编码 5.程序中的随机插入与随机删除是为了更好的测试程序的正确性和可靠性 6.随机插入(删除)时,程序将不断向(从)树中随机插入(删除)结点,每次随机插入(删除)都会进行平衡性与排序性的检查,如果树已经失去了有序性或平衡性,则会弹出树已失去了有序性或平衡性的提示并停止插入(删除)操作,当然你可以随时中断随机操作-1. The procedure I used vc 6.0 preparation, including the sequencing of the entire balanced binary tree algorithm (including insert, delete, search and test algorithm). 2. Running myavl_vc.exe importation of the initial tree node number, the procedures established in the memory of the formation of a corresponding nodes of a binary tree, and on this basis you can conduct various operations (insert, delete, search and testing their balance, sorting etc.) 3. each node information including "Product Codes," "trade names," and the "commodity codes" as the keyword 4. initial produ
    2022-03-11 19:21:53下载
    积分:1
  • PB9.0 generated student information management system, to complete the student i...
    PB9.0生成的学生信息管理系统,能完成学生信息的增加,删除,修改等基本操作。后缀为db的是数据库文件-PB9.0 generated student information management system, to complete the student information to add, delete, modify the basic operation. Db suffix to the database file
    2022-01-26 03:08:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载