Open CASCADE Technology  7.3.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::PSO_Particle ( )
inline

Member Function Documentation

◆ operator<()

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

Compares the particles according to their distances.

Field Documentation

◆ BestDistance

Standard_Real PSO_Particle::BestDistance

◆ BestPosition

Standard_Real* PSO_Particle::BestPosition

◆ Distance

Standard_Real PSO_Particle::Distance

◆ Position

Standard_Real* PSO_Particle::Position

◆ Velocity

Standard_Real* PSO_Particle::Velocity

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