-
用C++编写的基于插值算法的两种检索算法
用C++编写的基于插值算法的两种检索算法-prepared by the interpolation algorithm based on the two Search Algorithm
- 2022-04-21 19:53:06下载
- 积分: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
-
使用 c + + 中的计算器程序
这是其中包含的 c + + 代码
1 数学操作
2 三角操作
3 基地 N (操作 + 养护)
4 方程求解 (2 和 3 的顺序)
5 复杂操作
6 矩阵复杂操作
- 2022-04-30 10:18:04下载
- 积分:1
-
四十三种差分格式的fortran源代码,网上下载来的,呵呵,好东西,推荐。...
四十三种差分格式的fortran源代码,网上下载来的,呵呵,好东西,推荐。-43 species difference format FORTRAN source code to the Internet to download, what good things, recommended.
- 2022-12-25 22:25:03下载
- 积分:1
-
使用graham算法求二维凸包
使用graham算法求二维凸包- Uses the graham algorithm to ask the two-dimensional raised
package
- 2022-10-04 15:45:03下载
- 积分:1
-
磁性DLA模拟分形生长,用于Ising模型
磁性DLA模拟分形生长,用于Ising模型-Magnetic DLA fractal growth simulation for the Ising model
- 2022-08-23 00:06:21下载
- 积分:1
-
巴斯角三角形
经典算法巴斯角三角形的实现,类似中国古代的杨辉三角#include
#define N 12
long combi(int n, int r){
int i;
long p = 1;
for(i = 1; i
- 2022-12-16 03:55:02下载
- 积分:1
-
求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB)
求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB)-For solving nonlinear equations. Call the format x = fmincon (fun, x0, A, b, Aeq, beq, VLB, VUB)
- 2022-05-18 12:48:14下载
- 积分:1
-
serial port
这个解释有点复杂和晦涩。我们的
- 2023-07-22 03:20:03下载
- 积分:1
-
解线性方程组(多元一次)
水平有限,DOS界面。
其中,输出方程组的未知数用x1,x2,x3...表示,
可以解出多元一次方程。...
解线性方程组(多元一次)
水平有限,DOS界面。
其中,输出方程组的未知数用x1,x2,x3...表示,
可以解出多元一次方程。
-solution of linear equations (multiple times) is limited, and DOS interface. Within this total, output equations with the unknown x1, x2, x3 ... that the United States can come up with multiple linear equation.
- 2022-03-16 12:28:28下载
- 积分:1