登录
首页 » Java » 200430481

200430481

于 2021-03-06 发布 文件大小:200KB
0 479
下载积分: 1 下载次数: 41

代码说明:

  赫夫曼编译码器: 用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统。试为这样的信息收发站写一个哈夫曼码的编/译码系统。 [基本要求]一个完整的系统应具有以下功能: (1)I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。 (2)E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。 (3)D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。 (4)P:印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。 (5)T:印哈夫曼树(Tree printing)。将已在内存中的哈夫曼树以直观的方式(树或凹入表形式)显示出,同时将此字符形式的哈夫曼树写入文件TreePrint中。()

文件列表:

200430481
.........\cdnlog.txt
.........\cmd.txt
.........\CodeFile.txt
.........\Codeprint.txt
.........\hffgui$1.class
.........\hffgui$ButtonListener.class
.........\hffgui.class
.........\hffgui.java
.........\hfmTree.txt
.........\huffgui$1.class
.........\huffgui$ButtonListener.class
.........\huffgui$MyCanvas.class
.........\huffgui.class
.........\huffgui.java
.........\Huffman.class
.........\Huffman.java
.........\huffmanTree.class
.........\leaf.class
.........\MyCanvas.class
.........\Rehuffman.class
.........\Rehuffman.java
.........\structure
.........\.........\AbstractIterator.class
.........\.........\AbstractIterator.java
.........\.........\AbstractLinear.class
.........\.........\AbstractLinear.java
.........\.........\AbstractList.class
.........\.........\AbstractList.java
.........\.........\AbstractListIterator.java
.........\.........\AbstractMap.java
.........\.........\AbstractQueue.class
.........\.........\AbstractQueue.java
.........\.........\AbstractSet.java
.........\.........\AbstractStack.class
.........\.........\AbstractStack.java
.........\.........\AbstractStructure.class
.........\.........\AbstractStructure.java
.........\.........\AppendableList.java
.........\.........\ArrayIterator.java
.........\.........\Assert.class
.........\.........\Assert.java
.........\.........\Association.java
.........\.........\BinarySearchTree.java
.........\.........\BinaryTree.class
.........\.........\BinaryTree.java
.........\.........\BitSet.java
.........\.........\BTInorderIterator.class
.........\.........\BTInorderIterator.java
.........\.........\BTLevelorderIterator.class
.........\.........\BTLevelorderIterator.java
.........\.........\BTPostorderIterator.class
.........\.........\BTPostorderIterator.java
.........\.........\BTPreorderIterator.class
.........\.........\BTPreorderIterator.java
.........\.........\ChainedHashtable.java
.........\.........\ChainedHashtableIterator.java
.........\.........\CharSet.java
.........\.........\CircularList.class
.........\.........\CircularList.java
.........\.........\CircularListIterator.class
.........\.........\CircularListIterator.java
.........\.........\Clock.java
.........\.........\ComparableAssociation.java
.........\.........\ComparableEdge.java
.........\.........\copyright.html
.........\.........\DoublyLinkedList.java
.........\.........\DoublyLinkedListElement.java
.........\.........\DoublyLinkedListIterator.java
.........\.........\Edge.java
.........\.........\Entry.java
.........\.........\FailedAssertion.class
.........\.........\FailedAssertion.java
.........\.........\FailedInvariant.class
.........\.........\FailedInvariant.java
.........\.........\FailedPostcondition.class
.........\.........\FailedPostcondition.java
.........\.........\FailedPrecondition.class
.........\.........\FailedPrecondition.java
.........\.........\Graph.java
.........\.........\GraphList.java
.........\.........\GraphListAIterator.java
.........\.........\GraphListDirected.java
.........\.........\GraphListEIterator.java
.........\.........\GraphListUndirected.java
.........\.........\GraphListVertex.java
.........\.........\GraphMatrix.java
.........\.........\GraphMatrixDirected.java
.........\.........\GraphMatrixUndirected.java
.........\.........\GraphMatrixVertex.java
.........\.........\Hashtable.java
.........\.........\HashtableIterator.java
.........\.........\index.html
.........\.........\KeyIterator.java
.........\.........\Linear.class
.........\.........\Linear.java
.........\.........\List.class
.........\.........\List.java
.........\.........\Map.java
.........\.........\MapList.java

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

发表评论

0 个回复

  • SNIC_mex
    说明:  完整的SNIC的算法,可直接运行,无需其他操作(SNIC algorithm, can run directly)
    2019-03-12 10:42:30下载
    积分:1
  • Daubechies_EZW
    Daubechies小波变换和嵌入式零树编码(EZW)C语言程序,非常有用(Daubechies wavelet transform and embedded zero-tree coding (EZW) C language program, very useful)
    2008-08-20 10:17:38下载
    积分:1
  • 点云数据的显示 point cloud compression
    pcl 源码 点云数据的压缩显示,压缩数据的算法(display pcl source point cloud data compression algorithm to compress data)
    2012-12-05 19:42:58下载
    积分:1
  • Huffman
    用C++的模板类实现的霍夫曼树及其编码过程,可视地展示霍夫曼树的结构。(Huffman tree and its encoding process to achieve C++ template class, visual display of the structure of the Huffman tree.)
    2012-06-26 14:52:57下载
    积分:1
  • 0_02011031022550853165221641
    lzw压缩算法的C语言实现,包含压缩和解压缩的原理及实现代码(failed to translate)
    2012-05-01 19:25:25下载
    积分:1
  • gczh
    工程之间的转换 主要针对 05 和08 希望对大家有帮助(Projects aimed at the conversion between 05 and 08 We want to help)
    2010-02-24 10:51:27下载
    积分:1
  • Cross-Entropy
    交叉熵实现多元高斯混合模型优化的源代码,供大家学习使用(Realize cross-entropy optimization of multi-Gaussian mixture model of the source code for the U.S. study the use of)
    2009-02-11 16:55:44下载
    积分:1
  • Copy
    抽象类和借口的区别抽象类和借口的区别抽象类和借口的区别(English Version)
    2010-03-04 05:13:48下载
    积分:1
  • gundunkongzhi
    混沌控制、混沌同步仿真程序混沌控制、混沌同步仿真程序(Chaos control, chaos synchronization simulation program)
    2020-08-15 16:18:27下载
    积分:1
  • datastructure
    计算多项式的算法 数据结构计算多项式的加减发和乘法(data structure)
    2009-11-12 21:28:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载