Class DirectGameProtocolGenerator
- java.lang.Object
-
- net.sf.tweety.agents.dialogues.lotteries.sim.DirectGameProtocolGenerator
-
- All Implemented Interfaces:
ProtocolGenerator<DirectGameProtocol,AbstractLotteryAgent,LotteryGameSystem>
public class DirectGameProtocolGenerator extends java.lang.Object implements ProtocolGenerator<DirectGameProtocol,AbstractLotteryAgent,LotteryGameSystem>
Creates direct game protocols.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description DirectGameProtocolGenerator()
-
Method Summary
Modifier and Type Method Description DirectGameProtocol
generate(LotteryGameSystem mas, SimulationParameters params)
Generates a new protocol.
-
-
-
Method Detail
-
generate
public DirectGameProtocol generate(LotteryGameSystem mas, SimulationParameters params)
Description copied from interface:ProtocolGenerator
Generates a new protocol.- Specified by:
generate
in interfaceProtocolGenerator<DirectGameProtocol,AbstractLotteryAgent,LotteryGameSystem>
- 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.
-
-