-
新型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
-
0-3.3v电压表数码显示程序
凌阳61板课程设计:0——3.3v电压表。实现 0-3.3V 的电压测量,IOA6 接要测量的电压,经 AD 转换后,计算出当前电压值, 数码管上显示当前电压。具体要求如下: 1. 通过 IOA6 接入要测量的电压,单片机自动检测。 2. 在数码管上实时显示当前电压值。
- 2022-03-10 01:47:06下载
- 积分:1
-
传输矩阵法模拟光子晶体的模拟程序,好用,特别对于研究人员!...
传输矩阵法模拟光子晶体的模拟程序,好用,特别对于研究人员!-transfer matrix method photonic crystal simulation and the simulation and ease of use, especially for researchers!
- 2022-03-22 05:35:12下载
- 积分:1
-
运筹学中的贝叶斯决策方法,c++代码,可以运行
运筹学中的贝叶斯决策方法,c++代码,可以运行-Operations research in the Bayesian decision-making methods, c++ Code can run
- 2022-10-05 03:10:03下载
- 积分:1
-
这opennl,图书馆很容易构造和求解稀疏线性系统。
This OpenNL, a library to easily construct and solve sparse linear systems.
* OpenNL is supplied with a set of built-in iterative solvers (Conjugate gradient,BICGSTAB, GMRes) and preconditioners (Jacobi, SSOR).
* OpenNL can also use other solvers (SuperLU 3.0 is supported as an OpenNL extension,MUMPS will be supported in a future version)-This is OpenNL. a library to easily construct and solve sparse l inear systems.* OpenNL is supplied with a set of built-in iterative solvers (Conjugate gradie nt, Application of BICGSTAB. GMRes) and preconditioners (Jacobi, SSOR).* OpenNL can also use other solvers (Super rLU 3.0 is supported as an OpenNL extension, MUMPS will be supported in a future version)
- 2023-07-05 19:45:04下载
- 积分:1
-
用差分方法求解沃尔泰拉方程,此处为一个变元的方程,由于该方程同时含有微分和积分,一般求解有一定的困难。...
用差分方法求解沃尔泰拉方程,此处为一个变元的方程,由于该方程同时含有微分和积分,一般求解有一定的困难。-use of the finite difference method for Volterra equation here as a variable element of the equation, As the same time contain differential equations and integral, the general solution is definitely difficult.
- 2022-11-10 09:55:02下载
- 积分:1
-
利用最小二乘法进行曲线的拟合,这是用多项式拟合曲线的源码!...
利用最小二乘法进行曲线的拟合,这是用多项式拟合曲线的源码!-using the least-squares method of curve fitting, which is the polynomial curve fitting source!
- 2022-10-12 07:10:03下载
- 积分:1
-
本论文介绍了一种新的校正铂电阻传感器非线性的数学方法.
本论文介绍了一种新的校正铂电阻传感器非线性的数学方法.-This paper introduce a new calibration of platinum resistance sensor non-linear mathematical method.
- 2022-12-18 19:45:03下载
- 积分:1
-
求解三波耦合方程
向后差分,一阶,200个点,Z的范围[0 , 20],运行了50s。。。
各常数参数取值如下:
VS = 2 ;VI = 2 ; VP = 2 ; K = 2(这个代表的是j*delt*k) ; J = 2 ; L = 20 ; 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-09-10 00:50:02下载
- 积分:1
-
视频压缩编码存储系统
数据压缩就是一种研究如何通过计算机数据处理,去掉庞大图像和视频数据中的统计表示冗余和视觉感知冗余,即研究空域灰度冗余、时域灰度冗余、统计熵冗余、结构冗余和视觉敏感冗余等方面信息的变换算法,使得变换后图像与视频数据的编码呈现更不均匀性和视觉感知不敏感性,以便在不影响应用的条件下最大限度地压缩图像与视频数据。图像与视频数据压缩过程主要分为两大步:(1)图像与视频数据变换技术图像与视频数据变换的目标是使得编码呈现更不均匀性和视觉感知不敏感性。比较典型的数据变换有:帧内预测、帧间预测、DCT变换、KLT变换、DWT变换、ZigZag扫描和行程编码等。(2)图像与视频数据熵编码技术图像与视频数据熵编码的目标是针对编码数据编码码字概率分布的不均匀性,进行熵冗余编码,使得图像与视频数据编码的平均码长最小。比较典型的熵编码方法有:Huffman编码和算术编码。
- 2022-05-04 21:27:22下载
- 积分:1