-
遗传算法C
很好用的c
注:前两个文件存储为m文件并放在工作目录下,运行结果为
p =
0.0000 -0.0000 0.0055
大家可以直接绘出f(x)的图形来大概看看f(x)的最值是多少,也可是使用优化函数来验证。matlab命令行执行命令:
fplot("x+10*sin(5*x)+7*cos(4*x)",[0,9])
evalops是传递给适应度函数的参数,opts是二进制编码的精度,termops是选择maxGenTerm结束函数时传递个maxGenTerm的参数,即遗传代数。xoverops是传递给交叉函数的参数。mutops是传递给变异函数的参数。
- 2023-05-18 06:50:04下载
- 积分:1
-
vc++数据库编程ListCombo
vc++数据库编程ListCombo-vc ListCombo Database Programming
- 2022-09-13 13:50:03下载
- 积分:1
-
数据结构和算法,C++描述,数据结构习题,数据结构答案
数据结构和算法,C++描述,数据结构习题,数据结构答案-datastruct
- 2022-03-06 05:33:15下载
- 积分:1
-
这个程序是我花了好长时间才做出来的。希望能给大家帮助!!...
这个程序是我花了好长时间才做出来的。希望能给大家帮助!!
-This process is I spent a good long time to make out. I hope everyone can help! !
- 2022-03-26 08:29:37下载
- 积分:1
-
用C语言写的文件合并,可以合并两个二进制文件
用C语言写的文件合并,可以合并两个二进制文件-Using C language to write the file merger can merge two binary files
- 2022-04-08 05:46:21下载
- 积分:1
-
Rome dominated the number of algorithms, on the generalized Petersen graph P (n,...
罗马支配数的算法,对广义Petersen图P(n,2)的罗马支配数进行了研究-Rome dominated the number of algorithms, on the generalized Petersen graph P (n, 2) the number of Roman domination of the research
- 2022-02-04 22:11:59下载
- 积分:1
-
编程实现出圈问题。是上《数据结构》时候的一次实习的成果。...
编程实现出圈问题。是上《数据结构》时候的一次实习的成果。-Programming problem to achieve a circle. It s a program produced during learning data structure
- 2022-03-11 09:00:17下载
- 积分:1
-
opencv存储数据结构
资源描述
介绍opencv特有的数据结构cvmat,对了解opencv的存储和读取数组和图片的格式有很大帮助
- 2022-07-24 21:06:18下载
- 积分:1
-
数据结构大作业-变长记录类库
数据结构大作业-变长记录类库-data structure large operations- variable length record library
- 2022-03-30 13:57:59下载
- 积分:1
-
1、 用随机数生成的方式(要求用户输入随机数)产生一个迷宫:“1”表示墙,“0”表示路,最后的路径用“8”表示,若没有路径则打印报文,若有路径则打印出路径。...
1、 用随机数生成的方式(要求用户输入随机数)产生一个迷宫:“1”表示墙,“0”表示路,最后的路径用“8”表示,若没有路径则打印报文,若有路径则打印出路径。
2、 通过堆栈及判断实现迷宫的自动寻找路径功能
-1, the random number generator of (requiring user input random number) produces a maze : "a" Wall said, "0" Lu said, the final path with "8" that if no path was reportedly Print text, if it were printed out trails path. 2, stack and judgment to achieve the labyrinth path function to automatically search
- 2023-03-22 00:45:03下载
- 积分:1