Location:
Search - pso.cpp
Search list
Description: 标准pso算法,c++编写的-standard algorithm, prepared by the c
Platform: |
Size: 2827 |
Author: chuchu |
Hits:
Description: 标准pso算法,c++编写的-standard algorithm, prepared by the c
Platform: |
Size: 2048 |
Author: chuchu |
Hits:
Description: 一个很好的学习粒子群算法的例子。(刘康C++版本)
程序介绍: 模拟一群鸟捕食的情景,从而达到优化目标函数的目的,这就是粒子群算法!起初在可行的空间中随机的产生一群粒子,然后让每个粒子开始在虚拟的空间中向四面八方飞翔,并且每个粒子都记下他们飞过的适应值(也就是目标优化函数)最高的点,而且整个粒子群有一个最高适应值个体,这样,粒子在飞翔的时候尽量朝向自己曾飞过的最好的点和集体的最好的点。最后达到收敛到近似最优点的目的。
备注:目标优化函数程序中已经内定了,f6 ={0.5-[sin(sqrt(x2+y2)2-0.5]}/(1+0.001*(x2+y2))2 用户可以通过编辑pso.cpp文件自定义优化函数。另外屏幕输出的是最后所求得的最优值和相应的最优点。
-err
Platform: |
Size: 31744 |
Author: 赵 |
Hits:
Description: PSO original Code in cpp with random values defined in prior
Platform: |
Size: 1024 |
Author: Harini |
Hits:
Description: Another cpp file for the pso method of solving optimization problems
Platform: |
Size: 22528 |
Author: Wen |
Hits:
Description: pso algorithm in cpp language
Platform: |
Size: 7168 |
Author: naveen |
Hits:
Description: PSO算法C++代码,完成了PSO的各个功能模块,应该能运行。-PSO algorithm C++ code, PSO various functional modules, should be able to run.
Platform: |
Size: 1024 |
Author: shamohuyang |
Hits:
Description: implementation particle swarm optimation in C-implementation particle swarm optimation in C++
Platform: |
Size: 1024 |
Author: skrip |
Hits:
Description: C++ function for the PSO ALGORITHM
Platform: |
Size: 64512 |
Author: chenggonggui |
Hits:
Description: 外国人写的基于C++的单目标和多目标优化源程序jMetal 4.5最新版的C++源程序,包括NSGA-II\SPEA2\MOPSO,以及单目标优化算法-粒子群PSO、差分进化DE等。-C++ version of jMetal 4.5
Platform: |
Size: 2921472 |
Author: 王鹏 |
Hits:
Description: 1. Run mex -setup and choose a proper complier (Microsoft Visual C++ 6.0 is prefered)
Would you like mex to locate installed compilers [y]/n? y
2. Put cec15_func.cpp and input_data folder with your algorithm in the same folder. Set this folder as the current path.
3. Run the following command in Matlab window:
mex cec15_func.cpp -DWINDOWS
4. Then you can use the test functions as the following example:
f = cec15_func(x,func_num)
here x is a D*pop_size matrix.
5. main.m is an example test code with PSO algorithm.-1. Run mex -setup and choose a proper complier (Microsoft Visual C++ 6.0 is prefered)
Would you like mex to locate installed compilers [y]/n? y
2. Put cec15_func.cpp and input_data folder with your algorithm in the same folder. Set this folder as the current path.
3. Run the following command in Matlab window:
mex cec15_func.cpp -DWINDOWS
4. Then you can use the test functions as the following example:
f = cec15_func(x,func_num)
here x is a D*pop_size matrix.
5. main.m is an example test code with PSO algorithm.
Platform: |
Size: 2034688 |
Author: bhalab |
Hits: