lio.search.pso
Interface Neighbourhood
- All Superinterfaces:
- LiOResource
- All Known Implementing Classes:
- GlobalNeighbourhood, RingNeighbourhood
public interface Neighbourhood
- extends LiOResource
The classes implementing this interface implement methods
to update the global information of the particles according to
the kind of neighbourhood.
Method Summary |
void |
updateSwarmInformation(Particle[] swarm)
Updates the neighbourhood structure if precise and
the references of each particle to the global information. |
updateSwarmInformation
void updateSwarmInformation(Particle[] swarm)
- Updates the neighbourhood structure if precise and
the references of each particle to the global information.
- Parameters:
swarm
- Group of particles to be updated.