文件名称:200430481

  • 所属分类:
  • 压缩解压
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2008-10-13
  • 文件大小:
  • 199.79kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 许*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

赫夫曼编译码器:

用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统。试为这样的信息收发站写一个哈夫曼码的编/译码系统。

[基本要求]一个完整的系统应具有以下功能:

(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中。
(系统自动生成,下载前可以参看下载内容)

下载文件列表

压缩包 : 5956473200430481.rar 列表
200430481\cdnlog.txt
200430481\cmd.txt
200430481\CodeFile.txt
200430481\Codeprint.txt
200430481\hffgui$1.class
200430481\hffgui$ButtonListener.class
200430481\hffgui.class
200430481\hffgui.java
200430481\hfmTree.txt
200430481\huffgui$1.class
200430481\huffgui$ButtonListener.class
200430481\huffgui$MyCanvas.class
200430481\huffgui.class
200430481\huffgui.java
200430481\Huffman.class
200430481\Huffman.java
200430481\huffmanTree.class
200430481\leaf.class
200430481\MyCanvas.class
200430481\Rehuffman.class
200430481\Rehuffman.java
200430481\structure\AbstractIterator.class
200430481\structure\AbstractIterator.java
200430481\structure\AbstractLinear.class
200430481\structure\AbstractLinear.java
200430481\structure\AbstractList.class
200430481\structure\AbstractList.java
200430481\structure\AbstractListIterator.java
200430481\structure\AbstractMap.java
200430481\structure\AbstractQueue.class
200430481\structure\AbstractQueue.java
200430481\structure\AbstractSet.java
200430481\structure\AbstractStack.class
200430481\structure\AbstractStack.java
200430481\structure\AbstractStructure.class
200430481\structure\AbstractStructure.java
200430481\structure\AppendableList.java
200430481\structure\ArrayIterator.java
200430481\structure\Assert.class
200430481\structure\Assert.java
200430481\structure\Association.java
200430481\structure\BinarySearchTree.java
200430481\structure\BinaryTree.class
200430481\structure\BinaryTree.java
200430481\structure\BitSet.java
200430481\structure\BTInorderIterator.class
200430481\structure\BTInorderIterator.java
200430481\structure\BTLevelorderIterator.class
200430481\structure\BTLevelorderIterator.java
200430481\structure\BTPostorderIterator.class
200430481\structure\BTPostorderIterator.java
200430481\structure\BTPreorderIterator.class
200430481\structure\BTPreorderIterator.java
200430481\structure\ChainedHashtable.java
200430481\structure\ChainedHashtableIterator.java
200430481\structure\CharSet.java
200430481\structure\CircularList.class
200430481\structure\CircularList.java
200430481\structure\CircularListIterator.class
200430481\structure\CircularListIterator.java
200430481\structure\Clock.java
200430481\structure\ComparableAssociation.java
200430481\structure\ComparableEdge.java
200430481\structure\copyright.html
200430481\structure\DoublyLinkedList.java
200430481\structure\DoublyLinkedListElement.java
200430481\structure\DoublyLinkedListIterator.java
200430481\structure\Edge.java
200430481\structure\Entry.java
200430481\structure\FailedAssertion.class
200430481\structure\FailedAssertion.java
200430481\structure\FailedInvariant.class
200430481\structure\FailedInvariant.java
200430481\structure\FailedPostcondition.class
200430481\structure\FailedPostcondition.java
200430481\structure\FailedPrecondition.class
200430481\structure\FailedPrecondition.java
200430481\structure\Graph.java
200430481\structure\GraphList.java
200430481\structure\GraphListAIterator.java
200430481\structure\GraphListDirected.java
200430481\structure\GraphListEIterator.java
200430481\structure\GraphListUndirected.java
200430481\structure\GraphListVertex.java
200430481\structure\GraphMatrix.java
200430481\structure\GraphMatrixDirected.java
200430481\structure\GraphMatrixUndirected.java
200430481\structure\GraphMatrixVertex.java
200430481\structure\Hashtable.java
200430481\structure\HashtableIterator.java
200430481\structure\index.html
200430481\structure\KeyIterator.java
200430481\structure\Linear.class
200430481\structure\Linear.java
200430481\structure\List.class
200430481\structure\List.java
200430481\structure\Map.java
200430481\structure\MapList.java
200430481\structure\Matrix.java
200430481\structure\MergeableHeap.java
200430481\structure\NaturalComparator.class
200430481\structure\NaturalComparator.java
200430481\structure\OrderedList.class
200430481\structure\OrderedList.java
200430481\structure\OrderedMap.java
200430481\structure\OrderedStructure.class
200430481\structure\OrderedStructure.java
200430481\structure\OrderedVector.java
200430481\structure\package.html
200430481\structure\PriorityQueue.java
200430481\structure\PriorityVector.java
200430481\structure\Queue.class
200430481\structure\Queue.java
200430481\structure\QueueArray.java
200430481\structure\QueueList.class
200430481\structure\QueueList.java
200430481\structure\QueueVector.java
200430481\structure\ReadStream.class
200430481\structure\ReadStream.java
200430481\structure\RedBlackIterator.java
200430481\structure\RedBlackSearchTree.java
200430481\structure\RedBlackTree.java
200430481\structure\ReverseComparator.java
200430481\structure\Set.java
200430481\structure\SetList.java
200430481\structure\SetVector.java
200430481\structure\SinglyLinkedList.class
200430481\structure\SinglyLinkedList.java
200430481\structure\SinglyLinkedListElement.class
200430481\structure\SinglyLinkedListElement.java
200430481\structure\SinglyLinkedListIterator.class
200430481\structure\SinglyLinkedListIterator.java
200430481\structure\SkewHeap.java
200430481\structure\SplayTree.java
200430481\structure\SplayTreeIterator.java
200430481\structure\Stack.class
200430481\structure\Stack.java
200430481\structure\StackArray.java
200430481\structure\StackList.class
200430481\structure\StackList.java
200430481\structure\StackVector.java
200430481\structure\StructCollection.class
200430481\structure\StructCollection.java
200430481\structure\Structure.class
200430481\structure\Structure.java
200430481\structure\Table.java
200430481\structure\ValueIterator.java
200430481\structure\Vector.java
200430481\structure\VectorHeap.java
200430481\structure\VectorIterator.java
200430481\structure\Version.java
200430481\structure\Vertex.java
200430481\structure
200430481

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org