登录
首页 » Java » 200430481

200430481

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

  • xx
    说明:  Small calculator to realize simple calculation functions, interface more
    2008-11-30 15:14:37下载
    积分:1
  • Compressed-Sensing
    压缩感知的经典书籍,请大家下载查阅,好的东西大家一起分享哦,谢谢大家了!!(compresed sensoring)
    2020-12-31 10:18:59下载
    积分:1
  • compress11
    这是lzw算法源程序代码,纯c语言编程实现,希望对您有用。(lzw algorithm source code, pure c programming language, and I hope to you useful.)
    2006-10-28 11:42:08下载
    积分:1
  • ewmark
    newmark-b法的简要程序,供大家使用(newmark-b)
    2010-03-06 12:49:10下载
    积分:1
  • klt-dct
    klt经典程序,可以在matlab里面直接运行(KLT classical procedures, can be run directly in matlab)
    2009-03-01 16:19:36下载
    积分:1
  • 7z1900_c
    说明:  支持7zip压缩解压缩功能,c语言源码。(Support 7zip compression and decompression function, C language source code)
    2020-06-23 09:51:10下载
    积分:1
  • Compression
    用pb10和myzip.dll实现的压缩解压程序,以及myzip.dll的详细文档。(Pb10 and with myzip.dll realize compression decompression procedures, as well as detailed documentation myzip.dll.)
    2007-09-04 09:47:20下载
    积分:1
  • JPEG-LS算法的C代
    说明:  JPEG-LS压缩和解压缩算法的C代。。。。(This is a commonly used JPEG-LS codec C language.)
    2020-05-12 23:12:32下载
    积分:1
  • 不错的图像的Matlab程序SPECK-compress
    这是一个不错的图像压缩的Matlab程序,希望能对你有所帮助.(This is a good image compression Matlab procedures in the hope that you can help.)
    2020-07-07 16:58:58下载
    积分:1
  • 353797
    win8压缩解压源码程序,结合易语言多线程支持库,调用API函数实现WIN8系统的压缩解压。(win8 source compression decompression procedures , combined with easy language support for multithreading library , call the API functions WIN8 system of compression and decompression .)
    2016-03-13 16:16:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载