搜索资源列表
ga
- 用C语言实现的遗传算法的程序,实现的是y=x+10*sin(5*x)+5*cos(10*x)求最大值.实现环境为win-tc.-C language GA procedures, achieving is y = x 10 * sin (x 5 *) 5 * cos (10 * x) for the maximum. To achieve environmental w in-tc.
GA
- 遗传算法,寻找f(x,y)=sinx*siny/(x*y)的最大适应值及其相应的位置。精度为0.0001种群数设定为50
ga
- 遗传算法(Genetic Algorithm,GA)是一种抽象于生物进化过程的基于自然选择和生物遗传机制的优化技术. 遗传算法的基本原理 在遗传算法的执行过程中,每一代有许多不同的种群个体(染色体 )同时存在。这些染色体中哪个保留(生存)、哪个淘汰(死亡),是根据 它们对环境的适应能力来决定的,适应性强的有更多的机会保留下来 。适应性强弱是通过计算适应性函数f(x)的值来判别的,这个值称为适应值。适应值函数f(x)的构成与目标函数有密切关系,往往是目标函数的变种。
GA.通过遗传算法的思想来解决
- 本MATLAB例程,为通过遗传算法的思想来解决f(x)=x*sin(10pi*x)+2.0,-1<=x<=2的最大值问题。,The MATLAB routines for the adoption of the idea of genetic algorithm to solve f (x) = x* sin (10pi* x)+ 2.0,-1
GA
- 遗传算法,包含选择,交叉,变异等操作,可求出Y=sin(x)在0-2π的最大值和最小值-Genetic algorithm, including selection, crossover and mutation operation, etc., can be obtained Y = sin (x) at the 0-2π Maximum and minimum
ga
- 基因演算法兩個例子f(x)=x^x f(x)=cos(x)-sin(2*x)-Two examples of genetic algorithm f (x) = x ^ x f (x) = cos (x)-sin (2* x)
GA
- GA算法 一个通用的GA算法 求y=s*sin(1/x)的最小值-GA algorithm for a generic GA algorithm for y = s* sin (1/x) the minimum
GA
- 遗传算法求解最优解求函数的最大值 : f(x,y)=21.5+x*sin(4*PI*x)+y*sin(20*PI*y) | 定义域 D: -3 <=x <=12.1 , 4.1 <=y <=5.8 | | 注: 目前最好结果:f(11.6255448,5.7250441)=38.8502944790207 -failed to translate
ballgame
- 本次实验实现一个Five In A Line的游戏。游戏规则为:游戏有一个9 X 9的棋盘,七种不同颜色的无限数目的棋子。游戏开始时,五个棋子被随机的散布在棋盘中,玩家可以移动一个棋子到另一个可达的位置(两点之间存在一条通路),如果将至少五个相同颜色的棋子连成一线,不论垂直,水平或者对角线,就能将这些棋子消掉,获取相应的分数,并且获得再次移动棋子的机会,否则系统随机产生三个棋子放在棋盘中。当所有的棋子布满整个棋盘,游戏结束,当前的分数就是该次游戏最终的分数。 实验要绘制一个图形界面,包括一个
GA
- 已知函数y=x*sin(10*Pi*x)+2.0。利用人工智能中的遗传算法(GA),计算y在区间(0,2)上的极大值。对于想学习GA的网友们来说,是个很好的Demo。而且对于基因类,已经按照面向对象的思想进行了封装,稍微修改参数就可以用在实际项目中。-Known function y = x* sin (10* Pi* x)+2.0. The use of artificial intelligence in the genetic algorithm (GA), calculating y i
GA
- A genetic alorithm program for relating the outputs to inputs. Outputs are named starting with letter y and inputs x. The program does the work of developing a relationship between the inputs and outputs thus forming a model of the process.
Genetic_Algorithm
- How to use the program for your own purposes: The main thing that needs to be changed in ga.m is the fitness function and a few parameters. It is now set to minimize a function z=f(x,y) that is a sum of scaled translated Gaussian distr
ga
- 下面的程序是求多项式y=x^6-10x^5-26x^4+344x^3+193x^2-1846x-1680在区间[-8,8]的最小值,误差不超过0.001。对于这个复杂的多项式,可先用matlab绘制函数的大概曲线,确认函数的最小值大概处于[-8,8]之间,再用本程序求出精确解。 -The following procedure is a polynomial y = x ^ 6-10x ^ 5-26x ^ 4+344 x ^ 3+193 x ^ 2-1846x-1680 in the inter
ga
- 遗传算法程序,计算y=x*x在第一象限的最大值-Genetic algorithm program to calculate y = x* x in the first quadrant of the maximum
ga
- 标准遗传算法,优化函数为f=-(x-1)^2+4,其中,0<=x<=3,建议初学者使用- Standard genetic algorithms, optimization function f =- (x-1) ^ 2+4, where, 0 < = x < = 3, recommended for beginners to use
matlab_GA_7.0
- 基于MATLAB7.0,求函数f=x+10*sin(5*x)+7*cos(4*x)的最大值点,简单的单点交叉,基本位变异,赌轮盘选择.-Based on MATLAB7.0, find the function f = x+10* sin (5* x)+7* cos (4* x) the maximum point, a simple single-point crossover, the basic bit mutation, gambling roulette wheel.
GA
- f(x)=x^3-60*x^2+900*x+100 遗传算法对该函数的优化-GA is good
ga
- C++实现遗传算法功能,目标函数为简易的y=x*x-use C++ achieve genetic algorithm
GA
- 遗传算法应用程序使用说明: 1.安装MATLAB5.X; 2.建立目录:(c:\GeneticProgram),并将这里提供的所有源程序拷入该目录; 3.运行(c:\GeneticProgram)中的 startup; 4.在MATLAB Command Window内直接运行程序 FloatExample和BinaryExample。 FloatExample和BinaryExample分别采用浮点编码和二进制编码方法,求函数 y=20+x + 10*sin(
Ga-TSP-wenti
- 用遗传算法求出TSP问题,可以再excel里换自己想要的坐标(x,y) 就可以了-TSP problem is obtained using genetic algorithms, can excel in the other they want the coordinates (x, y) on it.