文件名称:ES
介绍说明--下载内容均来自于网络,请自行研究使用
1.设定种群个体数和需要迭代的次数。
2.选择父代中的个体按照公式z1=sqrt(-2*ln(u1))*sin(2*pi*u2)*m,z2=sqrt(-2*ln(u1))*cos(2*pi*u2)*m进行演化。
这里u1,u2都是随机值,m是控制因子,演化次数越多m,m越小,父代通过与z1,z2相加得到后代。
3.计算后代的适应性。
4.选择后代中最优的适应性作为全局最优适应性。(1. set the number of individuals in the population and the number of iterations required.
2. select the individual in the parent to evolve according to formulas z1=sqrt (-2*ln (U1)), *sin (2*pi*u2), *m, z2=sqrt (-2*ln (U1)), *cos (2*pi*u2), *m.
Here, U1, U2 are random values, M is the control factor, the more the number of evolution, m, the smaller the m, the parent by adding Z1, Z2, to get future generations.
3. calculate the adaptability of offspring.
4., choose the best adaptability among the offspring as the global optimum.)
2.选择父代中的个体按照公式z1=sqrt(-2*ln(u1))*sin(2*pi*u2)*m,z2=sqrt(-2*ln(u1))*cos(2*pi*u2)*m进行演化。
这里u1,u2都是随机值,m是控制因子,演化次数越多m,m越小,父代通过与z1,z2相加得到后代。
3.计算后代的适应性。
4.选择后代中最优的适应性作为全局最优适应性。(1. set the number of individuals in the population and the number of iterations required.
2. select the individual in the parent to evolve according to formulas z1=sqrt (-2*ln (U1)), *sin (2*pi*u2), *m, z2=sqrt (-2*ln (U1)), *cos (2*pi*u2), *m.
Here, U1, U2 are random values, M is the control factor, the more the number of evolution, m, the smaller the m, the parent by adding Z1, Z2, to get future generations.
3. calculate the adaptability of offspring.
4., choose the best adaptability among the offspring as the global optimum.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ES\compute_fit.m
ES\main.m
ES\select_and_recombin.m
ES
ES\main.m
ES\select_and_recombin.m
ES