Class GroundedGameSystem
java.lang.Object
org.tweetyproject.agents.MultiAgentSystem<ArguingAgent>
org.tweetyproject.agents.dialogues.oppmodels.GroundedGameSystem
- All Implemented Interfaces:
Iterable<ArguingAgent>,Collection<ArguingAgent>
This multi-agent system models a grounded dialogue game between
two agents.
- Author:
- Matthias Thimm
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe factions of agents in this game. -
Field Summary
Fields inherited from class org.tweetyproject.agents.MultiAgentSystem
EXECUTE_TILL_TERMINATION -
Constructor Summary
ConstructorsConstructorDescriptionGroundedGameSystem(DungTheory universalTheory) Creates a new grounded game system. -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(ArguingAgent e) voidexecute(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, toArrayMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
GroundedGameSystem
Creates a new grounded game system.- Parameters:
universalTheory- the universal Dung theory used for argumentation.
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<ArguingAgent>- Overrides:
addin classMultiAgentSystem<ArguingAgent>
-
execute
Description copied from class:MultiAgentSystemExecutes the given protocol till it terminates.- Overrides:
executein classMultiAgentSystem<ArguingAgent>- Parameters:
protocol- a protocol.- Throws:
ProtocolTerminatedException- if the protocol has already terminated.
-