Class GroundedGameSystem
- java.lang.Object
-
- net.sf.tweety.agents.MultiAgentSystem<ArguingAgent>
-
- net.sf.tweety.agents.dialogues.oppmodels.GroundedGameSystem
-
- All Implemented Interfaces:
java.lang.Iterable<ArguingAgent>,java.util.Collection<ArguingAgent>
public class GroundedGameSystem extends MultiAgentSystem<ArguingAgent>
This multi-agent system models a grounded dialogue game between two agents.- Author:
- Matthias Thimm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroundedGameSystem.AgentFactionThe factions of agents in this game.
-
Field Summary
-
Fields inherited from class net.sf.tweety.agents.MultiAgentSystem
EXECUTE_TILL_TERMINATION
-
-
Constructor Summary
Constructors Constructor Description GroundedGameSystem(DungTheory universalTheory)Creates a new grounded game system.
-
Method Summary
Modifier and Type Method Description booleanadd(ArguingAgent e)voidexecute(AbstractProtocol protocol)Executes the given protocol till it terminates.-
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
-
-
-
-
Constructor Detail
-
GroundedGameSystem
public GroundedGameSystem(DungTheory universalTheory)
Creates a new grounded game system.- Parameters:
universalTheory- the universal Dung theory used for argumentation.
-
-
Method Detail
-
add
public boolean add(ArguingAgent e)
- Specified by:
addin interfacejava.util.Collection<ArguingAgent>- Overrides:
addin classMultiAgentSystem<ArguingAgent>
-
execute
public void execute(AbstractProtocol protocol) throws ProtocolTerminatedException
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.
-
-