虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Pre<b>define</b>d

  • 【问题描述】 设计一个利用哈夫曼算法的编码和译码系统

    【问题描述】 设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 (1)初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; (2)编码:利用建好的哈夫曼树生成哈夫曼编码; (3)输出编码; (4)设字符集及频度如下表: 字符:A B C D E F 频度:4 9 23 2 17 15 字符:G H I J K 频度:1 2 3 3 4

    标签: 哈夫曼算法 编码 译码

    上传时间: 2017-03-07

    上传用户:qwe1234

  • 简单的无线遥控音乐制作 采用HC2272

    简单的无线遥控音乐制作 采用HC2272,HC2262接收, 对应管脚连接: 1、无线遥控部分 D0----P1^0 D1----P1^1 D2----P1^2 D3----P1^3 VT----P3^2 2、显示部分: 74LS48驱动共阴数码管 A-----P3^0 B-----P3^1 C-----P3^2 D-----P3^3 3、蜂鸣器(或喇叭) P3^4

    标签: 2272 HC 无线遥控

    上传时间: 2014-12-01

    上传用户:txfyddz

  • 八、 设计SAMPLE语言的语法、语义分析器

    八、 设计SAMPLE语言的语法、语义分析器,输出四元式的中间结果。 检查要求: a] 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音)。 b] 请求输入测试程序名,键入程序名后自动开始编译。 c] 输出四元式中间代码(样式见样板输出3和4)。 d] 能发现程序的语法错误并输出出错信息。

    标签: SAMPLE 语言 分析器

    上传时间: 2017-03-21

    上传用户:924484786

  • 本程序是ARM7系列下LPC2148的例程

    本程序是ARM7系列下LPC2148的例程,通过K7I开发板实现的数码管显示 1-2-3-4-5-6-7-8-9-0-A-b-C-d-E-F

    标签: ARM7 2148 LPC 程序

    上传时间: 2017-03-30

    上传用户:1966640071

  • We analyze, both analytically and numerically, the effectiveness of cloaking an infinite cylinder f

    We analyze, both analytically and numerically, the effectiveness of cloaking an infinite cylinder from observations by electromagnetic waves in three dimensions. We show that, as truncated approximations of the ideal permittivity and permeability tensors tend towards the singular ideal cloaking fields, so that the anisotropy ratio tends to infinity, the D and B fields blow up near the cloaking surface. Since the metamaterials used to implement cloaking are based on effective medium theory, the resulting large variation in D and B will pose a challenge to the suitability of the field averaged characterization of " and 碌. We also consider cloaking with and without the SHS (softand- hard surface) lining, shown in [6] to be theoretically necessary for cloaking in the cylindrical geometry. We demonstrate numerically that cloaking is significantly improved by the SHS lining, with both the far field of the scattered wave significantly reduced and the blow up of D and B prevented.

    标签: effectiveness analytically numerically cloaking

    上传时间: 2017-03-30

    上传用户:zxc23456789

  • ITU-T G.729 Annex C+ - Reference C code for floating point implementation of G.729 at 6.4/8/11.8

    ITU-T G.729 Annex C+ - Reference C code for floating point implementation of G.729 at 6.4/8/11.8 kbit/s with DTX functionality (integration of Annexes B, D and E)

    标签: implementation 729 Reference floating

    上传时间: 2017-04-10

    上传用户:cccole0605

  • 垃圾文件清理: 垃圾文件清理: 垃圾文件清理 Clean Windows Programs: :rd_dir if " R:~-2,1 "=="" set R=" R:~1,-2 "

    垃圾文件清理: 垃圾文件清理: 垃圾文件清理 Clean Windows Programs: :rd_dir if " R:~-2,1 "=="\" set R=" R:~1,-2 " if not exist R goto :DD cd /d R for /f "delims=" a in ( dir/ad/b ) do rd /s /q " a" del /f /s /q * cdrd /s /q R :DD Clean Windows Programs: :rd_dir if " R:~-2,1 "=="\" set R=" R:~1,-2 " if not exist R goto :DD cd /d R for /f "delims=" a in ( dir/ad/b ) do rd /s /q " a" del /f /s /q * cdrd /s /q R :DD

    标签: Programs Windows rd_dir Clean

    上传时间: 2017-04-21

    上传用户:lanhuaying

  • 课程设计: 1.求出在一个n×n的棋盘上

    课程设计: 1.求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局。 2.设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 1) 将权值数据存放在数据文件(文件名为data.txt,位于执行程序的当前目录中) 2) 分别采用动态和静态存储结构 3) 初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; 4) 编码:利用建好的哈夫曼树生成哈夫曼编码; 5) 输出编码; 6) 设字符集及频度如下表: 字符 空格 A B C D E F G H I J K L M 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 字符 N O P Q R S T U V W X Y Z 频度 57 63 15 1 48 51 80 23 8 18 1 16 1

    标签:

    上传时间: 2017-04-24

    上传用户:zhyiroy

  • 这个是用系统时间产生随机数应用的一个小程序

    这个是用系统时间产生随机数应用的一个小程序,用到了J2ME底层绘图机制。功能:在你输入4个选项后,系统自动筛选出一个结果。就像考试时a,b,c,d四个选项瞎蒙出来一个……

    标签: 系统时间 程序 随机数

    上传时间: 2013-12-31

    上传用户:yzhl1988

  • 找一个最小的自然数

    找一个最小的自然数,使它等于不同的两组三个自然数的三次幂之和,即找最小的x,使得:x=a*a*a+b*b*b+c*c*c = d*d*d+e*e*e+f*f*f 其中,a,b,c,d,e,f都是自然数,a<=b<=c, d<=e<=f [a,b,c]!=[d,e,f] 进一步,是否还存在另外一个自然数满足上述条件,可能的话请输出其结果

    标签:

    上传时间: 2017-05-16

    上传用户:vodssv