-
VC下最牛的算数表达式,将math.h 所有函数都集成到一起都能用计算出来,包括加减乘除;(、 正玄、 余玄,乘方,log ln,等...
VC下最牛的算数表达式,将math.h 所有函数都集成到一起都能用计算出来,包括加减乘除;(、 正玄、 余玄,乘方,log ln,等 -VC most cattle arithmetic expression math.h will integrate all functions are used together can be worked out including the arithmetic; (, Shogen, Yuxuan, involution, ln log, etc.
- 2022-02-20 17:13:59下载
- 积分:1
-
A Genetic Algorithms and the Traveling Salesman Problem
A Genetic Algorithms and the Traveling Salesman Problem
- 2023-04-09 05:45:03下载
- 积分:1
-
霍夫曼树-C++源码
应用背景霍夫曼树-C++源码实现:哈夫曼树是带权路径长度最短的树,权值较大的结点离根较近。关键技术给定n个权值作为n的叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树(Huffman Tree)。
- 2022-08-25 15:08:30下载
- 积分:1
-
牛顿插值
#include#include"String.h"#include#define ROW 6void read(float x[],float y[])//文件读取方便测试{ FILE *fp=fopen("num.txt","r"); rewind(fp); for(int i=0;i
- 2022-10-06 17:00:02下载
- 积分:1
-
求网络的最小费用最大流网络版
求网络的最小费用最大流网络版-for the minimum cost network flow largest online edition
- 2022-02-18 14:38:39下载
- 积分:1
-
用户信息管理系统
在有用户登录的平台中管理用户信息,并对用户密码进行加密,需要有数据库的支持,加密算法采用base64+SHA1,加密后的用户信息存放在数据库中,用户登录的时候进行认证,符合条件的允许登录,不符合的不允许登录。
- 2022-02-07 08:48:32下载
- 积分:1
-
source code for arithmatic coding
source code for arithmatic coding
- 2022-03-06 15:28:47下载
- 积分:1
-
直流电机的 PID 控制
pid 控制直流电机转速和旋转编程与 CCS 编译器 (C 代码),用 protus 模拟
- 2022-03-09 19:29:15下载
- 积分:1
-
利用变步长来计算积分,该算法中用到步长的折半方法。
利用变步长来计算积分,该算法中用到步长的折半方法。-use variable step to calculate integrals, the algorithm uses the half step method.
- 2022-06-20 02:56:02下载
- 积分: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