|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlio.search.pso.neighbourhoods.GlobalNeighbourhood
public class GlobalNeighbourhood
All Particles reference the best particle in the whole swarm as the social reference.
Constructor Summary | |
---|---|
GlobalNeighbourhood()
|
Method Summary | |
---|---|
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object which holds the name and all parameters that describe the resource. |
void |
updateSwarmInformation(Particle[] swarm)
Updates all the particle social references to point the best point visited by the whole swarm so far. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalNeighbourhood()
Method Detail |
---|
public void updateSwarmInformation(Particle[] swarm)
updateSwarmInformation
in interface Neighbourhood
swarm
- Group of particles to be updated.public LiOResourceDefinition getDefinition()
getDefinition
in interface LiOResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |