-
为规范和解决poj 1699
poj 1699的代码和方法说明,个人原创
-the codes and solution for poj 1699
- 2022-06-15 09:10:35下载
- 积分: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
-
弗洛依德warshal算法
资源描述这个应用解决了弗洛依德warshal算法。
- 2022-01-24 18:51:51下载
- 积分:1
-
给出计算常微分方程(组)的各种算法的使用示例。
给出计算常微分方程(组)的各种算法的使用示例。-Given the calculation of ordinary differential equations (group) the use of various algorithms sample.
- 2022-10-03 12:05:03下载
- 积分:1
-
bp算法及改进bp算法,已测试,附带说明文档
bp算法及改进bp算法,已测试,附带说明文档-bp bp algorithm and improved algorithm, testing, documentation, collateral
- 2023-02-05 16:30:03下载
- 积分:1
-
约瑟夫算法 实现报到规定数值的人退出链表
约瑟夫算法 实现报到规定数值的人退出链表-report provides numerical withdraw from the List
- 2022-01-25 20:14:18下载
- 积分:1
-
Delaunay 剖分源代码
根据用户输入的二维点(x,y)进行Delaunay三角剖分,主要采用的是种子生长算法来剖分平面的,是计算机图形学当中主要的曲面造型的剖分算法实现。
- 2022-03-20 09:16:12下载
- 积分:1
-
一种关于多模式匹配问题的算法优化的研究。
一种关于多模式匹配问题的算法优化的研究。-Research on Optimizing Multi- Pattern Matching Algorithm
- 2023-05-25 06:15:03下载
- 积分:1
-
大数相乘,可以解决超过大整数的问题
大数相乘,可以解决超过大整数的问题-multiply large numbers, can be resolved over the issue of large integer
- 2023-01-16 10:35:03下载
- 积分:1
-
稀疏矩阵加法的另类算法
稀疏矩阵加法的另类算法-sparse matrix additive alternative algorithm
- 2022-03-02 03:15:57下载
- 积分:1