登录
首页 » Java » 200430481

200430481

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

  • rtl
    读图转灰度3 bit量化,模拟游程编码解码过程(Gray Level 3 Bit Quantization for Run-length Coding and Decoding)
    2019-05-14 21:26:25下载
    积分:1
  • 基于OMP,LS,MMSE三种算法的信道估计仿真图比较OMP_GOMP
    说明:  基于OMP,LS,MMSE三种算法的信道估计仿真图比较,对学习信道估计的研究者有很大帮助(The chart compares the OMP, LS, MMSE three algorithms based channel estimation simulation learning channel estimation researchers)
    2020-09-15 21:47:56下载
    积分:1
  • GaTspInMatlab
    说明:  TSP 程序 ,有Matlab GUI界面,完常直观,很有学习价值。(TSP programs with GUI base on GA,it s worth downloading)
    2010-04-09 08:00:51下载
    积分:1
  • xueshengchengji
    课设时做的学生成绩管理系统,希望对大家有参考价值(Lesson set up to do when the student achievement management system that everyone would like to have reference value)
    2008-05-31 21:27:35下载
    积分:1
  • FoxitReader234015_enu_Setup
    pdf转换器,可将pdf文件转换为各种形式,并可直接编辑pdf文件(pdf converter, pdf files can be converted to a variety of forms, and can directly edit the pdf file)
    2010-01-07 14:51:41下载
    积分:1
  • zip4j
    说明:  从Zip文件创建,添加,提取,更新,删除文件 读/写密码保护的Zip文件 支持AES 128/256加密 支持标准邮??编加密 支持Zip64格式 支持存储(无压缩)和Deflate压缩方法 从Split Zip文件创建或提取文件(例如:z01,z02,... zip) 支持Unicode文件名 进度监视器(Create, add, extract, update, delete files from Zip files Read/write password-protected Zip files Support for AES 128/256 encryption Supporting Standard Postal Encryption Support Zip64 format Supporting storage (uncompressed) and Deflate compression methods Create or extract files from Split Zip files (e.g. z01, z02,... Zip))
    2020-06-21 08:20:02下载
    积分:1
  • LZ77
    这是LZ77压缩算法的源码,内含使用DEMO(LZ77 compression algorithm This is the source, including the use of DEMO)
    2009-03-10 17:29:50下载
    积分:1
  • lzw
    利用LZW的压缩算法实现文件的压缩与解压缩。用c++和MFC实现,代码简洁,实现简单,可用(LZW compression algorithm using the file compression and decompression.)
    2020-10-13 15:27:33下载
    积分:1
  • C语言 文件的
    文件的解压缩。添加文件unzip.h、unzip.cpp、zip.h、zip.cpp,调用对应函数进行压缩和解压。压缩格式为zip;压缩之后的文件可以用winrar等程序打开。(File decompression. Add file unzip.h, unzip.cpp, zip.h, zip.cpp, call the corresponding function for compression and decompression. Compression format is zip the file after compression can be opened by winrar.)
    2020-07-14 09:58:51下载
    积分:1
  • speckle
    对图像进行斑点噪声的添加,用方程f=f+n*f将乘性噪音添加到图像f上,其中n是均值为零,方差为var的均匀分布的随机噪声。(Image speckle noise addition, the equation f = f+ N* f will be added to the multiplicative noise on the image f, in which n is zero mean, variance var of the uniform distribution for the random noise.)
    2008-07-16 18:49:41下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载