-
哈夫曼编码
程序是要建立一个哈弗曼树,并利用哈夫曼树求相应编码和译码,根据输入的一串电文(字符串)来设计哈夫曼树,并根据哈弗曼树求出每个字符相应的编码,最后根据已知的编码,随机组合输入编码串,根据哈弗曼编码和哈弗曼树求出译码内容。
主要输入形式为一串字符串例如:abcd
输入的范围就是这26个字母,不限大小写,定义最多输入的字符不超过100个。
输出的形式根据要求,输入字符串后,要输出每个字符及其权值(出现次数);
然后再输入要译码的编码串,输出译码内容。
- 2022-03-16 10:05:21下载
- 积分:1
-
压缩包内解决用计算机实现图论中的最短路问题
压缩包内解决用计算机实现图论中的最短路问题-Compression package to resolve the computer graph theory realize the shortest path problem
- 2022-03-23 13:39:37下载
- 积分:1
-
在地理信息系统概率中,知道一个数据表,用编程的方法求它们的MORDAN码值...
在地理信息系统概率中,知道一个数据表,用编程的方法求它们的MORDAN码值-Geographic Information System in the probability of that a data table, using the method of programming for the value of their code MORDAN
- 2023-07-03 08:25:03下载
- 积分:1
-
机器人系统
简介: Whatis 机器人: 机器人是 mechanicaldevice,有时类似于一个人,是有能力执行晚熟往往是复杂的人工任务,命令或通过预先编程。 项目是关于: 这种机器人在这里我 haveused 蓝牙模块,控制机器人通过 2 博电机在 100 RPM appoxthe 机器人是控制由一部 android 手机应用单片机因此 AT89S52 形式 8051 家族在串行通信 UART 模式交流工作在 9800 bps 沟通与 Bluetoothmodule 蓝牙 moduleused 是 HC-05 在 smd 包装这项作用于 3.3 v 和 serialcommunication 与它相连的任何设备上配置通信速度可以在各种速度通过 AT 命令的功能。 蓝牙模块是修饰语支持配置文件,所以它可以轻松地连接到任何模块或电话。从这个数据可以发送和接收模块的配置文件。家单片机和 RX 引脚是 BT 模块姻亲。 L293D 是 motordriver IC 操作在任何方向需要依赖上逻辑应用于逻辑针脚的电动机。 我已经用来避免机箱包含的 2decks 低用于拟合上部的博汽车底盘总成的成衣 compactsize 机箱用作 batterystack 有顶部板板安装由螺丝固定。
- 2022-01-26 06:42:33下载
- 积分:1
-
achieve m bands Containing tree (2) linear scale for the keys inserted into Cont...
实现m阶B_树 (2)将线性表中的键值插入到B_树中(即建立索引); (3)当删除和插入数据到线性表时,同时维护其索引B_树。 (4)可根据所给键值范围,输出该范围的所有键值-achieve m bands Containing tree (2) linear scale for the keys inserted into Containing tree (index); (3) When the deletion and insertion of data to the linear scale, while preserving its index Containing tree. (4) According to the pair, the scope of the output of all keys
- 2022-11-14 03:35:03下载
- 积分:1
-
PowerBuilder应用开发经验及示例
PowerBuilder应用开发经验及示例-PowerBuilder application development experience and example
- 2022-01-23 10:54:42下载
- 积分:1
-
2-3树的数据结构以及演示程序-2-3 tree data structure and Demonstration Program
- 2022-01-26 00:29:51下载
- 积分:1
-
数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析...
数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析--本算法只适用于有明显线性趋势的数据 * 默认为一元二次曲线方程法 * * 本程序主要涉及有两个算法 * 1.用最小二乘原理找到线性方程组的系数和常数。 * 2.解线性方程组 * 本程序在解线性方程组中,由于考虑到收敛性问题未采用迭代法,而是采用Gauss-Jordan消去法来解决。-data prediction algorithm is mainly one yuan n equation forecast to achieve reunification.* Forecast and Analysis-- This algorithm applies only to clear linear trend data* default as a quadratic curve equation method** The procedure involves two main algorithm* 1. Using the principle of least squares linear equations to find the constants and coefficients.* 2. The solution of linear equations* The procedure for solving linear equations, due to convergence problems using iterative method, instead of using the Gauss-Jordan elimination method to solve.
- 2023-06-09 07:00:02下载
- 积分:1
-
data structure of a test is a polynomial arithmetic inside a package, Chain oper...
数据结构的一个试验,是一个多项式的运算,里面封装了,链表的操作,堆栈的操作等常用的数据结构,适合初学者-data structure of a test is a polynomial arithmetic inside a package, Chain operation, the operation of stack common data structure, suitable for beginners
- 2022-01-30 20:47:33下载
- 积分:1
-
数据结构作业图的一些集合 上面有优先遍历 和用链表和堆栈来实现的算法...
数据结构作业图的一些集合 上面有优先遍历 和用链表和堆栈来实现的算法-data structure of some operations plan sets priority traverse above and the use of linked lists and to achieve the stack algorithm
- 2022-03-20 17:00:06下载
- 积分:1