Open CASCADE Technology
7.3.0
|
Describes particle pool for using in PSO algorithm. Indexes: 0 <= aDimidx <= myDimensionCount - 1. More...
#include <math_PSOParticlesPool.hxx>
Public Member Functions | |
PSO_Particle () | |
bool | operator< (const PSO_Particle &thePnt) const |
Compares the particles according to their distances. More... | |
Data Fields | |
Standard_Real * | Position |
Standard_Real * | Velocity |
Standard_Real * | BestPosition |
Standard_Real | Distance |
Standard_Real | BestDistance |
Describes particle pool for using in PSO algorithm. Indexes: 0 <= aDimidx <= myDimensionCount - 1.
|
inline |
|
inline |
Compares the particles according to their distances.
Standard_Real PSO_Particle::BestDistance |
Standard_Real* PSO_Particle::BestPosition |
Standard_Real PSO_Particle::Distance |
Standard_Real* PSO_Particle::Position |
Standard_Real* PSO_Particle::Velocity |