登录
首页 » Java » 200430481

200430481

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

  • gundunkongzhi
    混沌控制、混沌同步仿真程序混沌控制、混沌同步仿真程序(Chaos control, chaos synchronization simulation program)
    2020-08-15 16:18:27下载
    积分:1
  • huffman
    huffman 编码 完陈对指定的文本文件内容进行huffman编码 实现输出(END CHAN huffman encoding text file on the specified content encoding huffman implementation output)
    2009-04-03 13:04:43下载
    积分:1
  • SVD_on_Matlab
    SVD algorithm implementation in Matlab
    2020-07-17 14:28:50下载
    积分:1
  • youmohoudu
    不可压缩稳态滑块润滑,一定长度的变间隙油膜厚度解析(Incompressible variable gap steady slide lubrication film thickness resolve certain length)
    2015-10-28 10:28:17下载
    积分:1
  • tttt
    16字节字符串压缩成12字节字符串算法,有压缩和解压的算法(16-byte string into a 12-byte string compression algorithm, compression and decompression algorithms)
    2011-08-09 01:14:58下载
    积分:1
  • zip
    压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
    2013-10-14 10:16:38下载
    积分:1
  • 36362
    WinEYS压缩源码例程,程序结合易语言扩展界面支持库,调用API函数实现压缩解压功能。(WinEYS source compression routines, programs combined with easy language support library expansion interface , call the API function to achieve compression and decompression functions.)
    2017-01-06 16:05:13下载
    积分:1
  • celp
    CELP (CELl Processing) is a functional programming package for Matlab. It is often better to use FP instead of loops: - it s more compact - it s more clear.
    2008-05-21 17:31:39下载
    积分:1
  • softcastadcast
    本压缩文件里面含有SOFTCAST的学习文章,对于学习组播的人非常有用。(The compressed file which contains SOFTCAST learning article, very useful for learning multicast person.)
    2014-07-20 14:32:33下载
    积分:1
  • Zip
    压缩的所有文件,解压缩的所有文件(zip unzip)
    2013-06-24 12:56:59下载
    积分:1
  • 696518资源总数
  • 104271会员总数
  • 57今日下载