|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpso.Candidate
pso.PsoParticle
public class PsoParticle

Particle for Particle Swarm Optimisation assumes float parameters see www.swarmintelligence.org for additional information
| Field Summary | |
|---|---|
static float |
maxParVal
maximum parameter value |
static float |
maxPosVal
maximum particle position value |
static float |
maxSpeedVal
maximum particle speed value |
static float |
minParVal
minimum parameter value |
static float |
minPosVal
minimum particle position value |
| Fields inherited from class pso.Candidate |
|---|
perform, pos |
| Constructor Summary | |
|---|---|
PsoParticle(java.util.ArrayList<java.lang.Double> _pos)
|
|
| Method Summary | |
|---|---|
float |
malusPerformance(float _perf,
int n)
alter performance of particle p when not in parameter domain |
static java.util.ArrayList<java.lang.Double> |
random(int size)
generates random parameter space vector |
void |
shuffle()
shuffles particle and local best information |
void |
updateParticle()
change particle position according to pso algorithm formula |
void |
updatePerformance(float _perform)
updates the particle performance after checking the position to the specified search domain if not in domain the performance is dramatically altered |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static float minParVal
public static float maxParVal
public static float minPosVal
public static float maxPosVal
public static float maxSpeedVal
| Constructor Detail |
|---|
public PsoParticle(java.util.ArrayList<java.lang.Double> _pos)
| Method Detail |
|---|
public void updateParticle()
public void updatePerformance(float _perform)
_perform -
public float malusPerformance(float _perf,
int n)
_perf -
public void shuffle()
public static java.util.ArrayList<java.lang.Double> random(int size)
size -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||