Open CASCADE Technology  6.9.0
Public Member Functions | Data Fields

PSO_Particle Struct Reference

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_RealPosition
 
Standard_RealVelocity
 
Standard_RealBestPosition
 
Standard_Real Distance
 
Standard_Real BestDistance
 

Detailed Description

Describes particle pool for using in PSO algorithm. Indexes: 0 <= aDimidx <= myDimensionCount - 1.

Constructor & Destructor Documentation

PSO_Particle::PSO_Particle ( )
inline

Member Function Documentation

bool PSO_Particle::operator< ( const PSO_Particle thePnt) const
inline

Compares the particles according to their distances.

Field Documentation

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

The documentation for this struct was generated from the following file: