Particles swarm optimieation
所属分类:源码/资料
开发工具:C/C++
文件大小:107KB
下载次数:0
上传日期:2022-07-22 02:27:00
上 传 者:
yyt3
说明: article Swarm Optimization (PSO): Particle Swarm Optimization is a method inspired by biology to solve optimization problems.
Like artificial neural networks , genetic algorithms or ant colony algo
文件列表:
CHANGELOG.md (71, 2017-05-28)
GSLRng.h (2575, 2017-05-28)
LICENSE (1085, 2017-05-28)
Make.inc.example (890, 2017-05-28)
Makefile (1401, 2017-05-28)
Network.h (924, 2017-05-28)
Parameters.h (2759, 2017-05-28)
Particle.cpp (182, 2017-05-28)
Particle.h (1209, 2017-05-28)
Point.cpp (728, 2017-05-28)
Point.h (1349, 2017-05-28)
Swarm.cpp (18025, 2017-05-28)
Swarm.h (4746, 2017-05-28)
rapidjson (0, 2017-05-28)
rapidjson\allocators.h (10127, 2017-05-28)
rapidjson\document.h (86076, 2017-05-28)
rapidjson\encodedstream.h (10642, 2017-05-28)
rapidjson\encodings.h (23915, 2017-05-28)
rapidjson\error (0, 2017-05-28)
rapidjson\error\en.h (4069, 2017-05-28)
rapidjson\error\error.h (6069, 2017-05-28)
rapidjson\filereadstream.h (3287, 2017-05-28)
rapidjson\filestream.h (2644, 2017-05-28)
rapidjson\filewritestream.h (3280, 2017-05-28)
rapidjson\internal (0, 2017-05-28)
rapidjson\internal\biginteger.h (9432, 2017-05-28)
rapidjson\internal\diyfp.h (12164, 2017-05-28)
rapidjson\internal\dtoa.h (7225, 2017-05-28)
rapidjson\internal\ieee754.h (3383, 2017-05-28)
rapidjson\internal\itoa.h (10639, 2017-05-28)
rapidjson\internal\meta.h (7239, 2017-05-28)
rapidjson\internal\pow10.h (4019, 2017-05-28)
rapidjson\internal\stack.h (6164, 2017-05-28)
rapidjson\internal\strfunc.h (1817, 2017-05-28)
rapidjson\internal\strtod.h (9343, 2017-05-28)
rapidjson\memorybuffer.h (2955, 2017-05-28)
rapidjson\memorystream.h (2863, 2017-05-28)
... ...
# PARTICLE SWARM OPTIMIZATION IN C++
Copyright (c) 2011-2015 Gabriel E Leventhal
adapted from:
SimPSOLib: A simple yet flexible PSO implementation in C++.
Author: Tomas V. Arredondo
## Test run
The test function to optimize is
f = -(x[0]-10)*(x[0]-10) - (x[1]-5)*(x[1]-5) + 10
The optimimum of this function is at `x* = (10,5)`.
Compile test:
make libpso.a
make test
Run test:
./test test.json
近期下载者:
相关文件:
收藏者: