文件名称:HuaffmanTree

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

数据结构 哈夫曼编/译码器

功能:

1.初始化:输入一串字符(正文),计算不同字符 (包括空格)的数目以及每种字符出现的频率(以该种字符出现的次数作为其出现频率),根据权值建立哈夫曼树,输出每一种字符的哈夫曼编码。

2.编码:利用求出的哈夫曼编码,对该正文(字符串)进行编码,并输出。

3.译码:对于得到的一串编码,利用已求得的哈夫曼编码进行译码,将译出的正文输出。

输出哈夫曼树形态:以树的形式输出哈夫曼树。-Data structure Huffman encoding/decoding

Function:

1. Initialization: input a string of characters (the body), calculate the number of distinct characters, including Spaces) as well as the frequency of each character (in the number of occurrences of this kind of character as its frequency), according to the weight to build the Huffman tree, output each kind of Huffman encoding of the characters.

2. Coding: the calculated Huffman encoding, to encode the text (string), and output.

3. Decoding: to get a bunch of code, using Huffman coding has been obtained to decode, to translate the text output.

Output: Huffman tree form output in the form of tree Huffman tree.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





HuaffmanTree

............\Debug

............\.....\Huaffman.exe

............\.....\Huaffman.ilk

............\.....\Huaffman.pdb

............\HuaffmanTree

............\HuaffmanTree.ncb

............\HuaffmanTree.sln

............\HuaffmanTree.suo

............\............\Debug

............\............\.....\BAT00007F441215144.bat

............\............\.....\BuildLog.htm

............\............\.....\Huaffman.exe.embed.manifest

............\............\.....\Huaffman.exe.embed.manifest.res

............\............\.....\Huaffman.exe.intermediate.manifest

............\............\.....\HuaffmanTree.obj

............\............\.....\HuaffmanTreeNode.obj

............\............\.....\mt.dep

............\............\.....\vc90.idb

............\............\.....\vc90.pdb

............\............\HuaffmanTree.cpp

............\............\HuaffmanTree.vcproj

............\............\HuaffmanTree.vcproj.306-21.Administrator.user

............\............\HuaffmanTree.vcproj.tianjiqx-PC.tianjiqx.user

............\............\HuaffmanTreeNode.cpp

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org