Public Member Functions | Private Attributes | List of all members
pso::Particle Class Reference

#include <pso.h>

Public Member Functions

float getP () const
 
Coordinate getPBest () const
 
float getVx () const
 
float getVy () const
 
float getX () const
 
float getY () const
 
 Particle (float x, float y)
 
void setCoordinate ()
 
void setP ()
 
void setV (Coordinate gBest, float w)
 

Private Attributes

Coordinate c
 
float c1
 
float c2
 
float p
 
Coordinate pBest
 
float Vx
 
float Vxmax
 
float Vxmin
 
float Vy
 
float Vymax
 
float Vymin
 
float Xmax
 
float Xmin
 
float Ymax
 
float Ymin
 

Detailed Description

Definition at line 60 of file pso.h.

Constructor & Destructor Documentation

pso::Particle::Particle ( float  x,
float  y 
)
inline

Definition at line 65 of file pso.h.

Member Function Documentation

float pso::Particle::getP ( ) const
inline

Definition at line 102 of file pso.h.

Coordinate pso::Particle::getPBest ( ) const
inline

Definition at line 107 of file pso.h.

float pso::Particle::getVx ( ) const
inline

Definition at line 129 of file pso.h.

float pso::Particle::getVy ( ) const
inline

Definition at line 134 of file pso.h.

float pso::Particle::getX ( ) const
inline

Definition at line 153 of file pso.h.

float pso::Particle::getY ( ) const
inline

Definition at line 158 of file pso.h.

void pso::Particle::setCoordinate ( )
inline

Definition at line 139 of file pso.h.

void pso::Particle::setP ( )
inline

Definition at line 90 of file pso.h.

void pso::Particle::setV ( Coordinate  gBest,
float  w 
)
inline

Definition at line 112 of file pso.h.

Member Data Documentation

Coordinate pso::Particle::c
private

Definition at line 163 of file pso.h.

float pso::Particle::c1
private

Definition at line 172 of file pso.h.

float pso::Particle::c2
private

Definition at line 172 of file pso.h.

float pso::Particle::p
private

Definition at line 164 of file pso.h.

Coordinate pso::Particle::pBest
private

Definition at line 165 of file pso.h.

float pso::Particle::Vx
private

Definition at line 166 of file pso.h.

float pso::Particle::Vxmax
private

Definition at line 170 of file pso.h.

float pso::Particle::Vxmin
private

Definition at line 170 of file pso.h.

float pso::Particle::Vy
private

Definition at line 167 of file pso.h.

float pso::Particle::Vymax
private

Definition at line 171 of file pso.h.

float pso::Particle::Vymin
private

Definition at line 171 of file pso.h.

float pso::Particle::Xmax
private

Definition at line 168 of file pso.h.

float pso::Particle::Xmin
private

Definition at line 168 of file pso.h.

float pso::Particle::Ymax
private

Definition at line 169 of file pso.h.

float pso::Particle::Ymin
private

Definition at line 169 of file pso.h.


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


pso
Author(s):
autogenerated on Mon Jun 10 2019 14:02:26