Class DirectGameProtocol
- java.lang.Object
-
- net.sf.tweety.agents.AbstractProtocol
-
- net.sf.tweety.agents.RigidProtocol
-
- net.sf.tweety.agents.SynchronousProtocol
-
- net.sf.tweety.agents.dialogues.lotteries.sim.DirectGameProtocol
-
- All Implemented Interfaces:
net.sf.tweety.agents.Protocol,net.sf.tweety.agents.sim.GameProtocol
public class DirectGameProtocol extends net.sf.tweety.agents.SynchronousProtocol implements net.sf.tweety.agents.sim.GameProtocolThis class implements a direct protocol for argumentation games.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description DirectGameProtocol(net.sf.tweety.agents.MultiAgentSystem<? extends net.sf.tweety.agents.Agent> multiAgentSystem)
-
Method Summary
-
Methods inherited from class net.sf.tweety.agents.RigidProtocol
hasPerformedNoOperation, setHasPerformedNoOperation
-
Methods inherited from class net.sf.tweety.agents.AbstractProtocol
addProtocolListener, getMultiAgentSystem, notifyActionPerformed, notifyTerminated, removeProtocolListener, step
-
-
-
-
Method Detail
-
hasWinner
public boolean hasWinner()
- Specified by:
hasWinnerin interfacenet.sf.tweety.agents.sim.GameProtocol
-
getWinner
public net.sf.tweety.agents.Agent getWinner()
- Specified by:
getWinnerin interfacenet.sf.tweety.agents.sim.GameProtocol
-
getUtility
public Double getUtility(net.sf.tweety.agents.Agent agent)
- Specified by:
getUtilityin interfacenet.sf.tweety.agents.sim.GameProtocol
-
-