public class GroundedGameSystem extends MultiAgentSystem<ArguingAgent>
Modifier and Type | Class and Description |
---|---|
static class |
GroundedGameSystem.AgentFaction
The factions of agents in this game.
|
EXECUTE_TILL_TERMINATION
Constructor and Description |
---|
GroundedGameSystem(DungTheory universalTheory)
Creates a new grounded game system.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(ArguingAgent e) |
void |
execute(AbstractProtocol protocol)
Executes the given protocol till it terminates.
|
addAll, clear, contains, containsAll, equals, execute, getEnvironment, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
public GroundedGameSystem(DungTheory universalTheory)
universalTheory
- the universal Dung theory used for argumentation.public boolean add(ArguingAgent e)
add
in interface java.util.Collection<ArguingAgent>
add
in class MultiAgentSystem<ArguingAgent>
public void execute(AbstractProtocol protocol) throws ProtocolTerminatedException
MultiAgentSystem
execute
in class MultiAgentSystem<ArguingAgent>
protocol
- a protocol.ProtocolTerminatedException
- if the protocol has already terminated.