-
Josephus 问题描述 数据结构为链表的插入与查询
Josephus 问题描述 数据结构为链表的插入与查询-Josephus Problem Description
- 2022-01-25 22:09:45下载
- 积分:1
-
新型GA算法
一种好的改进遗传算法function [opy,optimy]=GA(pt,gennum,psize)% 输入参数:% pt m*n的加工时间矩阵(n是工件数目,m是机器数目)由已知给的T矩阵,可得n=100,m=10% gennum 迭代的次数(代数)% psize 种群的规模大小%输出参数:% opy 最优的Makespan值pc=0.9;%交叉因子pm=0.1;%变异因子[m,n]=size(pt);current_gen=1;%current_gen means the current generationnewgen=zeros(psize,n+1); %mewgen is the new generation of the populationnewgen(1:psize,1:n)=rand(psize,n);%主种群初始化,0-1之间的随机数 %Generalize the initial groupfather=zeros(2,n); %father is used to store the two genes for crossover and mutation avgen=zeros(1,gennum); %avgen is the matrix of the average of all the generationsoptimx=zeros(1,n);optimy=ones(1,gennum);%Generalize the initial groupfor i=1:psize [Ya,pop(i,1:n)]=sort(newgen(i,1:n));%种群排序,实数编码转换为自然数编码 随机生成的0-1之间的小数进行排序然后取每个从小到大数对应的位置 newg
- 2022-03-18 14:25:18下载
- 积分:1
-
轮围计算器
它用来计算车轮围此程序。
可以运行它在 linux 终端 (GCC 编译器) 中的命令:
"海湾合作委员会 wheelcircunferencecallculator.c-o wheelcircunference"
及后
"。 / wheelcircunference"
它是所有。
- 2022-05-19 21:07:52下载
- 积分:1
-
利用只读存储器计算参数字节
Calculate Parameter Byte using ROM-BIOS
- 2022-04-07 19:31:25下载
- 积分:1
-
已知三维点和三维线的坐标和代表式,求两者间最短距离,用对话框实现,可以提出算法函数单独使用...
已知三维点和三维线的坐标和代表式,求两者间最短距离,用对话框实现,可以提出算法函数单独使用-known three-dimensional and three-dimensional point of the line-coordinates and representatives, for the shortest distance between the two, with dialog to achieve, we can make use of arithmetic functions alone
- 2022-02-22 00:19:10下载
- 积分:1
-
两个聚类中心之间的最小距离,如小于此数,两个聚类进行
两个聚类中心之间的最小距离,如小于此数,两个聚类进行-two cluster centers between the minimum distance, as tens of thousands of small, two Clustering
- 2022-08-14 03:39:52下载
- 积分:1
-
superpiexl 段
superpiexl 是一种分割方法和理念,将图像分割成一个个类似大pixel的块儿,艾玛,我的表述怎么这么不给力,总之,它是图像预处理过程。这里上传的这个code,是superpiexl的实现,可以直接使用,观察图像分割的结果,enjoy it!
- 2022-03-19 11:17:10下载
- 积分:1
-
等离子体PIC模拟
等离子体PIC模拟-PIC simulation of plasma
- 2022-01-21 00:17:25下载
- 积分:1
-
这个算法可以很好的实现实现一元多项式的计算,包括其相加和相减,是用C语言编写的。...
这个算法可以很好的实现实现一元多项式的计算,包括其相加和相减,是用C语言编写的。-this algorithm can achieve very good achievement of one yuan polynomial, including its sum and subtract. using the C language.
- 2023-03-25 02:40:03下载
- 积分:1
-
basic-ssc-i2s-project-at91sam3u-ek-keil
SAM3U-EK 包括 WOLFSON 编解码器 WM8731 为数字声音输入和输出。此接口
包括音频插孔:
- 2022-03-02 19:23:29下载
- 积分:1