Class DirectGameProtocolGenerator
java.lang.Object
org.tweetyproject.agents.dialogues.lotteries.sim.DirectGameProtocolGenerator
- All Implemented Interfaces:
ProtocolGenerator<DirectGameProtocol,
AbstractLotteryAgent, LotteryGameSystem>
public class DirectGameProtocolGenerator
extends Object
implements ProtocolGenerator<DirectGameProtocol,AbstractLotteryAgent,LotteryGameSystem>
Creates direct game protocols.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(LotteryGameSystem mas, SimulationParameters params) Generates a new protocol.
-
Constructor Details
-
DirectGameProtocolGenerator
public DirectGameProtocolGenerator()Default Constructor
-
-
Method Details
-
generate
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.
-