#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 |
pso::Particle::Particle | ( | float | x, |
float | y | ||
) | [inline] |
float pso::Particle::getP | ( | ) | const [inline] |
Coordinate pso::Particle::getPBest | ( | ) | const [inline] |
float pso::Particle::getVx | ( | ) | const [inline] |
float pso::Particle::getVy | ( | ) | const [inline] |
float pso::Particle::getX | ( | ) | const [inline] |
float pso::Particle::getY | ( | ) | const [inline] |
void pso::Particle::setCoordinate | ( | ) | [inline] |
void pso::Particle::setP | ( | ) | [inline] |
void pso::Particle::setV | ( | Coordinate | gBest, |
float | w | ||
) | [inline] |
Coordinate pso::Particle::c [private] |
float pso::Particle::c1 [private] |
float pso::Particle::c2 [private] |
float pso::Particle::p [private] |
Coordinate pso::Particle::pBest [private] |
float pso::Particle::Vx [private] |
float pso::Particle::Vxmax [private] |
float pso::Particle::Vxmin [private] |
float pso::Particle::Vy [private] |
float pso::Particle::Vymax [private] |
float pso::Particle::Vymin [private] |
float pso::Particle::Xmax [private] |
float pso::Particle::Xmin [private] |
float pso::Particle::Ymax [private] |
float pso::Particle::Ymin [private] |