K-Neighbor Topology. More...
#include <ql/experimental/math/particleswarmoptimization.hpp>
Inheritance diagram for KNeighbors:Public Member Functions | |
| KNeighbors (Size K=1) | |
| void | setSize (Size M) |
| initialize state for current problem | |
| void | findSocialBest () |
| produce changes to PSO state for current iteration | |
Additional Inherited Members | |
Protected Attributes inherited from ParticleSwarmOptimization::Topology | |
| ParticleSwarmOptimization * | pso_ |
| std::vector< Array > * | X_ |
| std::vector< Array > * | V_ |
| std::vector< Array > * | pBX_ |
| std::vector< Array > * | gBX_ |
| Array * | pBF_ |
| Array * | gBF_ |
K-Neighbor Topology.