public class LotteryGameSystem extends MultiAgentSystem<AbstractLotteryAgent>
EXECUTE_TILL_TERMINATION
Constructor and Description |
---|
LotteryGameSystem(DungTheory universalTheory)
Creates a new grounded game system.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(AbstractLotteryAgent 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 LotteryGameSystem(DungTheory universalTheory)
universalTheory
- the universal Dung theory used for argumentation.public boolean add(AbstractLotteryAgent e)
add
in interface java.util.Collection<AbstractLotteryAgent>
add
in class MultiAgentSystem<AbstractLotteryAgent>
public void execute(AbstractProtocol protocol) throws ProtocolTerminatedException
MultiAgentSystem
execute
in class MultiAgentSystem<AbstractLotteryAgent>
protocol
- a protocol.ProtocolTerminatedException
- if the protocol has already terminated.