文件名称:ga_main
介绍说明--下载内容均来自于网络,请自行研究使用
遗传算法实例,通过编码、设置种群、设置适应度函数、遗传操作、解码产生需要的解。对函数f(x)=x*sin(x)+1,x [0,2 ],求解f(x)的最大值和最小值。-Genetic algorithm example, through encoding, set the population, set fitness function, genetic operation, decoding the need to solve. The function f (x) =x*sin (x)+1, X [0,2 completely solve the f (x)], the maximum and minimum value.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ga_main\crossover.m
.......\decode.m
.......\init_population.m
.......\mainmax.m
.......\mainmin.m
.......\roulette.m
.......\roulette2.m
ga_main