登录
首页 » Java » 200430481

200430481

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

  • gwbssrari
    这里给出的源代码huffman.zip用8种不同的方式实现了Huffman编码算法。这些代码意在演示不同Huffman算法的实现原理,比较算法执行效率的差别,但并没有针对实际应用环境的需求,做更多的空空空间或效率优化。全部代码以C++语言开发,为了更容易地实现各种数据结构,代码中大量应用了标准C++库与模板技术。——总之,这些代码的作用在于示例与演示;如果大家想把这些代码应用在实际应用中,可能还需要 (The given here source code huffman.zip eight different ways to achieve the Huffman coding algorithm. These codes are intended to demonstrate different Huffman algorithm implementation principle, the difference of the algorithm execution efficiency, but does not demand for practical application environment, do more empty space or efficiency optimization. The entire code C++ language development code in order to make it easier to achieve a variety of data structures, a large number of applications the standard C++ library template.- In short, these code examples and demonstration If we want the code used in practical applications may also need)
    2012-08-23 20:05:50下载
    积分:1
  • ewmark
    newmark-b法的简要程序,供大家使用(newmark-b)
    2010-03-06 12:49:10下载
    积分:1
  • LZW
    lzw压缩(matlab源程序)欢迎大家下载 里面有实例(LZW compression (matlab source code) are welcome to download there are examples of)
    2009-01-02 15:35:15下载
    积分:1
  • unzip540
    完整的解压zip文件的源码。包含密码功能(The source of uncompress zip file, contains password)
    2020-06-26 13:00:01下载
    积分:1
  • 3D-Imaging-with-Compressive-Sensing
    压缩感知三维成像文献,是三维重建方面最新的文献(Compressed sensing three-dimensional imaging literature, is the latest three-dimensional reconstruction of the literature)
    2013-11-23 22:16:15下载
    积分:1
  • jpegtbx_1.4.tar
    JPEG编码解码,源程序由matlab编写,详细readme说明(JPEG codec, the source code from matlab to prepare a detailed readme Description)
    2020-12-30 19:09:00下载
    积分:1
  • zp
    说明:  一个用jbuilder做纸牌游戏,希望对你学习有帮助(A card game using jbuilder do, and they hope to help you learn)
    2008-11-27 16:38:18下载
    积分:1
  • jpeg_enc
    一个jpeg编码程序,有效实现了图像的jpeg压缩,是一个非常好的编码试例。(a jpeg coding procedures, the effective realization of the jpeg image compression, is a very good coding test cases.)
    2005-05-27 22:43:19下载
    积分:1
  • DTCWT
    双树复小波变换具有平移不变性、方向选择性等特点,适合进行图像压缩,优于传统离散小波变换方法。(The DT-CWT is suitable to image compression processing because of its shift invariance and directional selectivity. It is preferable to traditional Discrete Wavelet Transform(DWT). )
    2020-10-05 10:37:38下载
    积分:1
  • j-link-The-firmware-fix-pack
    J-LINK V8 出厂固件烧录与修复文件,压缩包中的.bin烧录文件为破解文件烧录即可使用,且附带烧录教程、破解教程(J- LINK V8 factory firmware replication and repair files, compressed package. In the buffer bin file for solving file replication can be used, and the supplementary burning tutorials, crack tutorial)
    2016-02-17 17:43:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载