T
- The actual agent type.S
- The actual MAS type.public interface AgentGenerator<T extends Agent,S extends MultiAgentSystem<T>>
Modifier and Type | Method and Description |
---|---|
T |
generate(S mas,
SimulationParameters params)
Generates a new agent for the given multi-agent system.
|
void |
setSeed(long seed)
Set the seed for the generation.
|
T generate(S mas, SimulationParameters params)
mas
- some multi-agent system.params
- this object can be used for sharing parameters across
the generating components of a simulation.void setSeed(long seed)
seed
- some seed.