登录
首页 » Java » 200430481

200430481

于 2021-03-06 发布 文件大小:200KB
0 389
下载积分: 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 个回复

  • huffman
    霍夫曼编解码matlab程序,包含熵的计算。(Hoffman codec Matlab procedures, including the calculation of entropy.)
    2020-06-28 17:00:01下载
    积分:1
  • sitesee
    网规网优之用,用于绘制基站扇区图,地理化显示基站方便工程师进行查看。(Net regulatory network optimization purposes, used to map the base station sector maps, geographic-based display base stations to facilitate engineers to view it.)
    2021-04-20 14:58:50下载
    积分:1
  • files2
    说明:  基于感兴趣区的MPEG-4 FGS增强层码率分配算法 基于感兴趣区的MPEG-4 FGS增强层码率分配算法(Regions of interest based on the MPEG-4 FGS enhancement layer bit allocation algorithm is based on regions of interest of MPEG-4 FGS enhancement layer bit allocation algorithm)
    2008-09-05 13:03:54下载
    积分: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
  • sdf2samples
    用于开发Windows Mobile的参考源程序(Windows Mobile for the development of a reference source)
    2008-06-30 10:24:17下载
    积分:1
  • unzip
    IO for uncompress .zip files using zlib.
    2013-06-19 10:51:14下载
    积分:1
  • codecs
    说明:  著名压缩算法的实现,能够实现各种基本功能,适合学习!(famous compression algorithm to achieve to achieve basic capabilities for learning!)
    2005-11-01 18:48:56下载
    积分:1
  • Genertate-LG-Beam
    压缩包中包含有拉盖尔函数、缔合拉盖尔函数以及产生拉盖尔高斯光束的文件。光束的两个量子数可以任意修改(Compressed packet contains Laguerre functions, Laguerre functions and association Laguerre Gaussian beam generated files. Beam two quantum numbers can be modified)
    2013-05-28 20:40:43下载
    积分:1
  • Fx-robot
    此EA是本人长期实战总结的一个稳定盈利的利器,现在在期适用交果良好。(This EA is my long-term combat summary of a stable profit tool, now in the application of good fruit.)
    2016-10-01 14:05:55下载
    积分:1
  • ZipTest_src
    ZIP 压缩、解压 源码,C 语言实现,文件压缩解压缩(ZIP compression, decompression source code, C language, file compression and decompression)
    2012-11-06 12:23:27下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载