Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 

Data Fields

doublePosition
 
doubleVelocity
 
doubleBestPosition
 
double Distance
 
double 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

double PSO_Particle::BestDistance

◆ BestPosition

double* PSO_Particle::BestPosition

◆ Distance

double PSO_Particle::Distance

◆ Position

double* PSO_Particle::Position

◆ Velocity

double* PSO_Particle::Velocity

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