-
查表型crc16校验算法,c源码
查表型crc16校验算法,c源码-Lookup- crc16 checksum algorithm, c FOSS
- 2022-01-27 23:41: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
-
冒泡排序算法的C++
该代码读取输入文本文件并将其排序,然后将这些数字排序为输出文本文件。代码采用了气泡排序算法进行排序。
- 2022-01-26 05:50:08下载
- 积分:1
-
基于vc6.0的一个计算非方阵矩阵的广义逆矩阵的算法,输入要求为矩阵的指针表示,矩阵的行数和列数,函数返回的是矩阵的广义逆矩阵,附带结果的验证...
基于vc6.0的一个计算非方阵矩阵的广义逆矩阵的算法,输入要求为矩阵的指针表示,矩阵的行数和列数,函数返回的是矩阵的广义逆矩阵,附带结果的验证-Vc6.0 based on a calculation of non-square matrix of the generalized inverse matrix of the algorithm, input requirements for the indicator matrix, said matrix of rows and columns, are the return function of the generalized matrix inverse matrix, with the results of the verification
- 2022-11-10 10:30:04下载
- 积分:1
-
this is great book for learning elecromagnetic simulation using FDTD
this great book for learning elecromagnetic simulation using FDTD-this is great book for learning elecromagnetic simulation using FDTD
- 2022-01-31 10:37:14下载
- 积分:1
-
源程序实现的是基于卡尔曼滤波的车辆检测与跟踪,并对车辆进行计数编号。...
源程序实现的是基于卡尔曼滤波的车辆检测与跟踪,并对车辆进行计数编号。-Source implementation is based on Kalman filtering vehicle detection and tracking, and count the number of vehicles.
- 2022-06-19 16:25:52下载
- 积分:1
-
大数运算,生成两个随机大数,然后计算他们的和,差等
大数运算,生成两个随机大数,然后计算他们的和,差等-Computation of large numbers to generate two random large numbers, and then calculate them and, poor
- 2022-04-24 02:19:26下载
- 积分:1
-
蚁群算法的c++实现方法
蚁群算法的c++实现方法,通过c++实现蚁群算法的基本功能,提供了详细的注释和编码。
- 2022-07-10 02:05:31下载
- 积分:1
-
三角形输出。很好的。
三角形输出。很好的。-triangle output. Very good.
- 2023-03-13 22:35:04下载
- 积分:1
-
八皇后问题的解法,非常好,请大家看一下,谢谢了
八皇后问题的解法,非常好,请大家看一下,谢谢了-8 Queen" s problem solution, very good, please look at, I would like to thank the
- 2022-01-28 01:59:41下载
- 积分:1