Class LotteryGameSystem
- java.lang.Object
-
- net.sf.tweety.agents.MultiAgentSystem<AbstractLotteryAgent>
-
- net.sf.tweety.agents.dialogues.lotteries.LotteryGameSystem
-
- All Implemented Interfaces:
Iterable<AbstractLotteryAgent>,Collection<AbstractLotteryAgent>
public class LotteryGameSystem extends net.sf.tweety.agents.MultiAgentSystem<AbstractLotteryAgent>
This multi-agent system models a lottery dialogue game between a lottery agent and a dummy agent- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description LotteryGameSystem(net.sf.tweety.arg.dung.syntax.DungTheory universalTheory)Creates a new grounded game system.
-
Method Summary
Modifier and Type Method Description booleanadd(AbstractLotteryAgent e)voidexecute(net.sf.tweety.agents.AbstractProtocol protocol)-
Methods inherited from class net.sf.tweety.agents.MultiAgentSystem
addAll, clear, contains, containsAll, equals, execute, getEnvironment, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Method Detail
-
add
public boolean add(AbstractLotteryAgent e)
- Specified by:
addin interfaceCollection<AbstractLotteryAgent>- Overrides:
addin classnet.sf.tweety.agents.MultiAgentSystem<AbstractLotteryAgent>
-
execute
public void execute(net.sf.tweety.agents.AbstractProtocol protocol) throws net.sf.tweety.agents.ProtocolTerminatedException- Overrides:
executein classnet.sf.tweety.agents.MultiAgentSystem<AbstractLotteryAgent>- Throws:
net.sf.tweety.agents.ProtocolTerminatedException
-
-