|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjswarm_pso.Particle
jswarm_pso.example_2.MyParticle
Simple particle example
| Field Summary | |
static int |
NUMBER_OF_DIMENTIONS
Number of dimentions for this particle |
(package private) double |
particleData
Totally useless, just to see how an example with local data works |
| Fields inherited from class jswarm_pso.Particle |
|
| Constructor Summary | |
MyParticle()
Default constructor |
|
| Method Summary | |
java.lang.String |
toString()
Convert to string() |
| Methods inherited from class jswarm_pso.Particle |
allocate, applyConstraints, copyPosition, copyPosition2Best, getBestFitness, getBestPosition, getDimention, getFitness, getPosition, getVelocity, init, selfFactory, setBestFitness, setBestPosition, setFitness, setPosition, setVelocity, update, updateRepulsive |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static int NUMBER_OF_DIMENTIONS
double particleData
| Constructor Detail |
public MyParticle()
| Method Detail |
public java.lang.String toString()
toString in class Particle
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||