Package org.tweetyproject.agents.sim
Interface ProtocolGenerator<T extends Protocol,S extends Agent,R extends MultiAgentSystem<S>>
- Type Parameters:
T
- The actual type of the protocol.S
- The actual type of the agents.R
- The actual type of the multi-agent system.
- All Known Implementing Classes:
DirectGameProtocolGenerator
,GroundedGameProtocolGenerator
public interface ProtocolGenerator<T extends Protocol,S extends Agent,R extends MultiAgentSystem<S>>
Generates protocols for simulation.
- Author:
- Matthias Thimm
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(R mas, SimulationParameters params) Generates a new protocol.
-
Method Details
-
generate
Generates a new protocol.- Parameters:
mas
- the multi-agent system.params
- this object can be used for sharing parameters across the generating components of a simulation.- Returns:
- a multi-agent system.
-