T - The actual type of the protocol.S - The actual type of the agents.R - The actual type of the multi-agent system.public interface ProtocolGenerator<T extends Protocol,S extends Agent,R extends MultiAgentSystem<S>>
| Modifier and Type | Method and Description |
|---|---|
T |
generate(R mas,
SimulationParameters params)
Generates a new protocol.
|
T generate(R mas, SimulationParameters params)
mas - the multi-agent system.params - this object can be used for sharing parameters across
the generating components of a simulation.