Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - pso.cpp
Search - pso.cpp - List
标准pso算法,c++编写的-standard algorithm, prepared by the c
Update : 2008-10-13 Size : 2.76kb Publisher : chuchu

标准pso算法,c++编写的-standard algorithm, prepared by the c
Update : 2025-02-19 Size : 2kb Publisher : chuchu

DL : 0
一个很好的学习粒子群算法的例子。(刘康C++版本) 程序介绍: 模拟一群鸟捕食的情景,从而达到优化目标函数的目的,这就是粒子群算法!起初在可行的空间中随机的产生一群粒子,然后让每个粒子开始在虚拟的空间中向四面八方飞翔,并且每个粒子都记下他们飞过的适应值(也就是目标优化函数)最高的点,而且整个粒子群有一个最高适应值个体,这样,粒子在飞翔的时候尽量朝向自己曾飞过的最好的点和集体的最好的点。最后达到收敛到近似最优点的目的。 备注:目标优化函数程序中已经内定了,f6 ={0.5-[sin(sqrt(x2+y2)2-0.5]}/(1+0.001*(x2+y2))2 用户可以通过编辑pso.cpp文件自定义优化函数。另外屏幕输出的是最后所求得的最优值和相应的最优点。 -err
Update : 2025-02-19 Size : 31kb Publisher :

DL : 0
PSO original Code in cpp with random values defined in prior
Update : 2025-02-19 Size : 1kb Publisher : Harini

Another cpp file for the pso method of solving optimization problems
Update : 2025-02-19 Size : 22kb Publisher : Wen

pso algorithm in cpp language
Update : 2025-02-19 Size : 7kb Publisher : naveen

DL : 0
PSO算法C++代码,完成了PSO的各个功能模块,应该能运行。-PSO algorithm C++ code, PSO various functional modules, should be able to run.
Update : 2025-02-19 Size : 1kb Publisher : shamohuyang

DL : 0
implementation particle swarm optimation in C-implementation particle swarm optimation in C++
Update : 2025-02-19 Size : 1kb Publisher : skrip

C++ function for the PSO ALGORITHM
Update : 2025-02-19 Size : 63kb Publisher : chenggonggui

外国人写的基于C++的单目标和多目标优化源程序jMetal 4.5最新版的C++源程序,包括NSGA-II\SPEA2\MOPSO,以及单目标优化算法-粒子群PSO、差分进化DE等。-C++ version of jMetal 4.5
Update : 2025-02-19 Size : 2.79mb Publisher : 王鹏

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.
Update : 2025-02-19 Size : 1.94mb Publisher : bhalab
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.