Class LotteryGameSystem
java.lang.Object
org.tweetyproject.agents.MultiAgentSystem<AbstractLotteryAgent>
org.tweetyproject.agents.dialogues.lotteries.LotteryGameSystem
- All Implemented Interfaces:
Iterable<AbstractLotteryAgent>
,Collection<AbstractLotteryAgent>
This multi-agent system models a lottery dialogue game between
a lottery agent and a dummy agent
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from class org.tweetyproject.agents.MultiAgentSystem
EXECUTE_TILL_TERMINATION
-
Constructor Summary
ConstructorDescriptionLotteryGameSystem
(DungTheory universalTheory) Creates a new grounded game system. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
execute
(AbstractProtocol protocol) Executes the given protocol till it terminates.Methods inherited from class org.tweetyproject.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
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
LotteryGameSystem
Creates a new grounded game system.- Parameters:
universalTheory
- the universal Dung theory used for argumentation.
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<AbstractLotteryAgent>
- Overrides:
add
in classMultiAgentSystem<AbstractLotteryAgent>
-
execute
Description copied from class:MultiAgentSystem
Executes the given protocol till it terminates.- Overrides:
execute
in classMultiAgentSystem<AbstractLotteryAgent>
- Parameters:
protocol
- a protocol.- Throws:
ProtocolTerminatedException
- if the protocol has already terminated.
-