登录
首页 » Java » 200430481

200430481

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

  • OpenGLdevelopment
    压缩包中包含了gl.h,glaux.h,glext.h,glui.h,glut.h等头文件以及对应的库文件。还有对应的配置方法。(Compression package contains gl.h, glaux.h, glext.h, glui.h, glut.h Header Files and corresponding library file. There are corresponding configuration.)
    2020-12-14 14:49:13下载
    积分:1
  • reliability-assessment
    电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
    2020-09-01 09:28:09下载
    积分:1
  • 1
    说明:  霍夫曼编码解码,实用程序,源程序,只用好用,通用。(Huffman encoding and decoding, utilities, source code, using only easy to use, universal.)
    2013-06-20 14:57:58下载
    积分:1
  • xx
    说明:  Small calculator to realize simple calculation functions, interface more
    2008-11-30 15:14:37下载
    积分:1
  • GZIPyashuowenjian
    说明:  java对GZIP的压缩格式提供了直接支持,可以方便的实现GZIP压缩与解压(right GZIP compression format provides direct support to facilitate the realization of GZIP Compression and Decompression)
    2006-04-11 23:52:33下载
    积分:1
  • xiao
    简单的DCT的MATLAB图象压缩实验,适用于初学者(Simple DCT image compression experiment of MATLAB for beginners)
    2008-05-15 13:14:22下载
    积分:1
  • huff
    呃,就是用赫夫曼算法写的压缩解压程序。非常粗糙,只能压缩英文文章。因为里面的字符概率是基于自然语言的,源代码之类的没法压缩。而且会抛弃最后几个字母,嘿嘿。为了交作业,没有好好写。改一下下应该能挺好的。压缩比能到60 吧(Uh, is to use Huffman compression decompression algorithm written procedures. Very rough, only compress English articles. Because there is the probability of characters based on natural language, the source code and the like can not compressed. And will abandon the last few letters, hehe. For homework, not properly written. The following should be able to change it quite good. Compression ratio to 60 of it can be)
    2013-05-26 15:23:59下载
    积分:1
  • ECG_Comp
    Amplitude Thresholding compression method used here in for ECG signal compression as presented on paper entitled as ECG signal compression with reconstruction via cubic spline approximation by Olga Malgina, Jana Milenkovi, Emil Plesnik, Matej Zajc, Andrej Koš ir and Jurij F. Tasi.
    2013-09-12 17:04:03下载
    积分:1
  • unzip
    IO for uncompress .zip files using zlib.
    2013-06-19 10:51:14下载
    积分:1
  • 0_02011031022550853165221641
    lzw压缩算法的C语言实现,包含压缩和解压缩的原理及实现代码(failed to translate)
    2012-05-01 19:25:25下载
    积分:1
  • 696524资源总数
  • 103771会员总数
  • 43今日下载