public class DirectGameProtocolGenerator extends java.lang.Object implements ProtocolGenerator<DirectGameProtocol,AbstractLotteryAgent,LotteryGameSystem>
Constructor and Description |
---|
DirectGameProtocolGenerator() |
Modifier and Type | Method and Description |
---|---|
DirectGameProtocol |
generate(LotteryGameSystem mas,
SimulationParameters params)
Generates a new protocol.
|
public DirectGameProtocol generate(LotteryGameSystem mas, SimulationParameters params)
ProtocolGenerator
generate
in interface ProtocolGenerator<DirectGameProtocol,AbstractLotteryAgent,LotteryGameSystem>
mas
- the multi-agent system.params
- this object can be used for sharing parameters across
the generating components of a simulation.