-
遗传算法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
-
first simple MCF exercise
first simple MCF exercise
- 2022-11-10 03:55:04下载
- 积分:1
-
实现拓扑排序,用到了堆栈,存储结构采用邻接表。
实现拓扑排序,用到了堆栈,存储结构采用邻接表。-To achieve topological sorting, use the stack, storage structure using adjacency list.
- 2023-06-24 09:35:03下载
- 积分:1
-
some classic data Data Structure Algorithm code and description.
非常多的数据结构算法示例代码,以及关于算法的描述文档。-some classic data Data Structure Algorithm code and description.
- 2022-12-22 02:00:03下载
- 积分:1
-
关于计算机几种常见排序算法,在学习数据结构的时候曾自己动手写C语言的程序,
现发布出来与大家交流。虽然简单,但希望与大家在编程以及计算机算法方面能...
关于计算机几种常见排序算法,在学习数据结构的时候曾自己动手写C语言的程序,
现发布出来与大家交流。虽然简单,但希望与大家在编程以及计算机算法方面能
够与大家交流,达到抛砖引玉的效果,恳切大家提出意见、建议。-On the computer several common sorting algorithms, data structures in the study had the time to write their own C language procedures, is published by the exchange with the U.S.. Although simple, but look forward to working with everyone in the programming and computer algorithms can exchange with the U.S. to initiate the effect, everyone sincerely offer comments, suggestions.
- 2022-01-28 19:52:35下载
- 积分:1
-
Zip database .Plaese use.
有关zip的一个开发实例。主要包括图片和程序源代码。-Zip database .Plaese use.
- 2022-02-05 22:01:37下载
- 积分:1
-
Access数据库下实现的系统,功能很强大,适合初学者学习~
Access数据库下实现的系统,功能很强大,适合初学者学习~-Implemented under the Access database system, function is very powerful, suitable for beginners to learn ~
- 2022-07-01 17:57:49下载
- 积分:1
-
triallkfjnklgnjfkljngfklnjlkfnflkfg
- 2023-08-19 20:55:03下载
- 积分:1
-
用C#语言书写的用于Microsoft SQL Server数据库备份和恢复的类,带进度条...
用C#语言书写的用于Microsoft SQL Server数据库备份和恢复的类,带进度条-With C# Language written for Microsoft SQL Server database backup and recovery class, with the progress bar
- 2022-07-04 01:47:15下载
- 积分:1
-
data structure Cavaliers travel Algorithm
数据结构 之骑士周游算法-data structure Cavaliers travel Algorithm
- 2022-03-21 19:21:23下载
- 积分:1