Pso
代码说明:
模拟一群鸟捕食的情景,从而达到优化目标函数的目的,这就是粒子群算法!起初在可行的空间中随机的产生一群粒子,然后让每个粒子开始在虚拟的空间中向四面八方飞翔,并且每个粒子都记下他们飞过的适应值(也就是目标优化函数)最高的点,而且整个粒子群有一个最高适应值个体,这样,粒子在飞翔的时候尽量朝向自己曾飞过的最好的点和集体的最好的点。最后达到收敛到近似最优点的目的。 (Simulation of a group of birds preying on the scene, so as to achieve the purpose of optimizing the objective function, that is, PSO! At first, where feasible, have a space in a group of random particles, and then let the beginning of each particle in a virtual space to fly in all directions, and each particle they have in mind over the fitness value (that is objective optimization function) the highest point , and the whole particle swarm adaptation has a maximum value of the individual, so that particles in the fly when he had flown as far as possible towards the best point and collective best point. Finally reaching the merits of convergence to approximate most purposes.)
文件列表:
Pso
...\adapting.asv
...\adapting.m
...\errorcompute.m
...\initial.asv
...\initial.m
...\main.asv
...\main.m
...\outputdata.asv
...\outputdata.m
...\updatepop.m
下载说明:请别用迅雷下载,失败请重下,重下不扣分!