-
a)需求分析:
任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码;
要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现;...
a)需求分析:
任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码;
要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现;
b)概要设计:
本程序所使用的数据结构是树和线性表,所使用的算法主要有堆排序、赫夫曼算法。
-a) Requirements Analysis : Mandate : an article in English, statistics of the number of characters to achieve Huffman coding; Requirements : Every character in the output of the number and the code for which the minimum requirement of the right to use Heap; B) Summary of design : the procedures used by the data nodes the tree structure and linear form, the algorithm used by the main sculpture, in order Huffman algorithm.
- 2022-03-06 12:21:16下载
- 积分:1
-
Serial communications, the use of serial communication control realize.
串口通信,利用串口通信控件实现 。-Serial communications, the use of serial communication control realize.
- 2022-01-28 21:16:26下载
- 积分:1
-
这是一个完整的教务管理系统案例,能够满足日常的教务管理工作,也可以下载学习...
这是一个完整的教务管理系统案例,能够满足日常的教务管理工作,也可以下载学习-This is a complete management system for the teaching cases, to meet the academic management of the daily work, you can download to learn
- 2022-03-24 17:16:31下载
- 积分:1
-
摘 要 本系统按要求制作了一个简易智能电动车,它能实现的功能是:从起跑线出发,沿引导线到达 B 点。在此期间检测到铺设在白纸下的薄铁片,并同时发出声光指示信...
摘 要 本系统按要求制作了一个简易智能电动车,它能实现的功能是:从起跑线出发,沿引导线到达 B 点。在此期间检测到铺设在白纸下的薄铁片,并同时发出声光指示信息,实时存储、显示在“直道区”检测到的薄铁片数目。电动车到达 B 点以后进入“弯道区”,沿圆弧引导线到达 C 点,能够检测 C 点下正方形薄铁片,并在 C 点处停车 5 秒,停车期间发出断续的声光信息。之后继续行驶,在光源的引导下,利用超声传感器传来的信号通过障碍区进入停车区并到达车库。最后,电动车完成上述任务后能够立即停车,全程行驶时间小于 90 秒。-abstract:this systme is about making a simple intelligence electroomobile.the main function:star in the scratch line,along the guide line to point B.during this course,it detectes the thin iror sheet under the blank paper, at the same time it gives out voice and light indicaton message, saves the real-time message,and derects and shows the nombers of the thin iror sheet in the straight district. The electromobile goes into curve district when passing poiont B,and runs,along the camber line to point C. The electromobile can detect the square thin iror sheet under the point C, and stop for 5 seconds.During the pause ,it gives out voice and light message sequencly,then it continues to run .Using light inducting and signal of the ultra
- 2022-02-02 19:35:23下载
- 积分:1
-
Very useful for monitoring a serial port software, do not take up the case of se...
非常实用的一款串口监测软件,在不占用串口资源的情况下对串口全方位监测。-Very useful for monitoring a serial port software, do not take up the case of serial resources, all-round monitoring of the serial port.
- 2023-03-30 06:20:03下载
- 积分:1
-
访问存储卡大小
获取显卡的显存大小-access to the memory card size
- 2022-10-19 12:35:04下载
- 积分:1
-
c++学习资料 教你如何应付复杂的调试过程和调试技巧
c++学习资料 教你如何应付复杂的调试过程和调试技巧-c++ learning materials teach you how to deal with the complexity of the debugging process and debugging skills
- 2023-06-17 14:00:04下载
- 积分:1
-
用VC编写正轴等角割圆锥投影源程序的设计.还不尽完美!欢迎下载指导!...
用VC编写正轴等角割圆锥投影源程序的设计.还不尽完美!欢迎下载指导!-There a positive axes equal angle conic projection program.It is not very perfect.Welcome to download and instruct .
- 2022-08-05 22:34:59下载
- 积分:1
-
模拟时钟 This another Win32 assembly demo, which is based on the the "C" example in...
模拟时钟 This another Win32 assembly demo, which is based on the the "C" example in
Charles Petzold s "Programming Windows" 5th edition.
Appart for being an instructive graphics demo, this program is also useful and can be used on
your desktop as an alternative clock.
-Analog Clock This another Win32 assembly demo, which is based on the the
- 2023-08-15 10:10:03下载
- 积分:1
-
TI的TMS320LF2407芯片的测试程序
ti tms320lf2407的测试程序-ti tms320lf2407 testing procedures
- 2022-07-27 06:44:31下载
- 积分:1