Package net.sf.tweety.agents.sim
Interface MultiAgentSystemGenerator<T extends Agent,S extends MultiAgentSystem<T>>
-
- Type Parameters:
T
- The type of the agent in the multi-agent system.S
- The type of the multi-agent system.
- All Known Implementing Classes:
GroundedGameGenerator
,LotteryGameGenerator
public interface MultiAgentSystemGenerator<T extends Agent,S extends MultiAgentSystem<T>>
- Author:
- Matthias Thimm
-
-
Method Summary
Modifier and Type Method Description S
generate(SimulationParameters params)
Generates a new multi-agent system.void
setSeed(long seed)
Set the seed for the generation.
-
-
-
Method Detail
-
generate
S generate(SimulationParameters params)
Generates a new multi-agent system.- Parameters:
params
- this object can be used for sharing parameters across the generating components of a simulation.- Returns:
- a multi-agent system.
-
setSeed
void setSeed(long seed)
Set the seed for the generation. Every two runs of generations with the same seed are ensured to be identical.- Parameters:
seed
- some seed.
-
-