-
乔姆斯基文法判定
此程序是用C语言写的一个编译原理实验,用数组来存储。通过对数组的操作,以及文法规则来对文法进行判断。最终判断是属于哪一类文法。
- 2022-03-13 13:18:36下载
- 积分:1
-
基于遗传算法的机器人路径规划
基于遗传算法的机器人路径规划的实现,已通过测试验证,是可以运行的C++程序。
- 2022-02-10 09:21:53下载
- 积分:1
-
k-means 算法接受输入量 k ;然后将n个数据对象划分为 k个聚类以便使得所获得的聚类满足:同一聚类中的对象相似度较高;而不同聚类中的对象相似度较小。聚类相似度是利用各聚类中对象的均值所获得一个“中心对象”(引力中心)来进行计算的。
Matlab 源代码,以兰花数据集作为测试对象。-k-means algorithm to accept input k then n data object is divided into k-clustering in order to make available to the cluster to meet: the same objects in clustering high similarity and objects in different clustering the similarity smaller. Cluster similarity is the use of the clustering of objects by means of a
- 2022-02-01 10:09:59下载
- 积分:1
-
音频信号采集
能够完成对于MP3 等文件的信息,音频信号进行采集与输出
例如:文件头的歌曲名、歌手等
由于MP3是二进制文件,因此主要根据断点来进行编码实行
- 2023-08-08 21:50:04下载
- 积分:1
-
高级的加密标准的标准代码,在 c + +
高级加密标准 (AES) 是一种规范的电子成立于 2001 年由美国国家标准和技术协会 (NIST) 的数据。AES 基于 Rijndael 密码由两个密码,以及谁提交建议书给 NIST AES 选择过程中。Rijndael 是一个家庭的块大小与不同的密钥的密码。
- 2023-07-29 04:20:03下载
- 积分:1
-
This is a compiler for a small pascal procedures it is not enough for some but a...
这是一个用来编译pascal的一个小程序有些还不行但也发了-This is a compiler for a small pascal procedures it is not enough for some but also made a
- 2022-02-05 02:30:56下载
- 积分:1
-
树AVL C语言
在计算机科学中,二叉树 (阿德尔森 Velskii 和 Landis" 树,发明者的名字命名) 是一个自平衡的二叉查找树。它是第一个被发明这种数据结构。[1] 在 AVL 树的两个孩子的任何节点的子树的高度不同最多之一 ;如果在任何时候他们相差不止一个,再平衡是为了还原此属性。查找、 插入和删除在平均和最坏情况下,所有的猛男 (logn) 时间,其中 n 是在手术前树中节点的数目。插入和删除可能需要树来重新平衡由一个或多个树轮换。
- 2022-03-19 19:53:37下载
- 积分:1
-
FFT algorithm version of the C language description of classes.
FFT 算法的C语言班版描述。本人亲自编写,希望对你有用。-FFT algorithm version of the C language description of classes.
- 2022-03-04 05:48:04下载
- 积分:1
-
98年全国大学生数学建模竞赛B题“水灾巡视问题”,是一个推销员问题,本题有53个点,所有可能性大约为exp(53),目前没有好方法求出精确解,既然求不出精确解,...
98年全国大学生数学建模竞赛B题“水灾巡视问题”,是一个推销员问题,本题有53个点,所有可能性大约为exp(53),目前没有好方法求出精确解,既然求不出精确解,我们使用模拟退火法求出一个较优解,将所有结点编号为1到53,1到53的排列就是系统的结构,结构的变化规则是:从1到53的排列中随机选取一个子排列,将其反转或将其移至另一处,能量E自然是路径总长度。具体算法描述如下:步1: 设定初始温度T,给定一个初始的巡视路线。步2 :步3 --8循环K次步3:步 4--7循环M次步4:随机选择路线的一段步5:随机确定将选定的路线反转或移动,即两种调整方式:反转、移动。步6:计算代价D,即调整前后的总路程的长度之差步7:按照如下规则确定是否做调整:如果D0,则按照EXP(-D/T)的概率进行调整步8:T*0.9-->T,降温-98 National Mathematical Contest in Modeling B and that the "flood inspections", is a salesman problem, and that is 53 points, all possibilities about exp (53), there is no good way to get accurate solutions, since no exact solution for, we used simulated annealing France obtained an optimum solution to all nodes to a number of 53 to 53.1 is with the system structure, changes in the structure of the rules is : from 1-53 with a randomly selected with a son, to reverse or to move it to another, the energy E is the natural path length. The specific algorithm is described as follows : Step 1 : The initial set temperature T,
- 2023-05-19 17:45:04下载
- 积分:1
-
实现一个超过了计算机所表示范围的长整数的加减法
实现一个超过了计算机所表示范围的长整数的加减法-achieve an over by the computer, said the scope of the long integer addition and subtraction
- 2023-04-11 17:05:03下载
- 积分:1