|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
K-Neighbor Topology. More...
#include <ql/experimental/math/particleswarmoptimization.hpp>
Public Member Functions | |
| KNeighbors (Size K=1) | |
| void | setSize (Size M) override |
| initialize state for current problem | |
| void | findSocialBest () override |
| 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.
|
overridevirtual |
initialize state for current problem
Implements ParticleSwarmOptimization::Topology.
|
overridevirtual |
produce changes to PSO state for current iteration
Implements ParticleSwarmOptimization::Topology.