网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
05月17日漏签0天
算法吧 关注:30,757贴子:59,742
  • 看贴

  • 图片

  • 吧主推荐

  • 视频

  • 游戏

  • 0回复贴,共1页
<<返回算法吧
>0< 加载中...

一个关于三元哈弗曼算法的实现,求大神

  • 取消只看楼主
  • 收藏

  • 回复
  • 做自己LJQ
  • 过客
    2
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
1. Based on the frequency table derived, a ternary Huffman encoding scheme is implemented in your program that produces as output a codebook (in tabular format) that encodes the symbols in the frequency table costing the minimum bandwidth while using these for codes: {0, 1, 2}, e.g. symbol ‘e’ is encoded as ‘0’, ‘a’ as ‘12’, ‘b’ as ‘112’, etc. The encoding program also accepts input from the user, encodes whatever input text specified by the user, and encodes it into the ternary symbols using the codebook derived.
2. A corresponding ternary Huffman decoding scheme is also implemented that carries out the decoding task for ternary codes sent and received based upon the codebook designed from 1.


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 0回复贴,共1页
<<返回算法吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示