lio.search.pso
Interface SwarmGenerator

All Superinterfaces:
LiOResource
All Known Implementing Classes:
StdContParticleGenerator

public interface SwarmGenerator
extends LiOResource

The classes implementing this interface generate swarms of particles.


Method Summary
 Particle[] generateSwarm(int size)
          Generates a swarm of particles.
 
Methods inherited from interface lio.core.LiOResource
getDefinition
 

Method Detail

generateSwarm

Particle[] generateSwarm(int size)
Generates a swarm of particles.

Parameters:
size - Number of particles in the swarm.
Returns:
An array with the particles generated.