Class GroundedGameProtocol
- java.lang.Object
-
- net.sf.tweety.agents.AbstractProtocol
-
- net.sf.tweety.agents.RigidProtocol
-
- net.sf.tweety.agents.RoundRobinProtocol
-
- net.sf.tweety.agents.dialogues.oppmodels.GroundedGameProtocol
-
- All Implemented Interfaces:
net.sf.tweety.agents.Protocol,net.sf.tweety.agents.sim.GameProtocol
public class GroundedGameProtocol extends net.sf.tweety.agents.RoundRobinProtocol implements net.sf.tweety.agents.sim.GameProtocolThis class implements a round robin protocol for the grounded game.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description GroundedGameProtocol(GroundedGameSystem system)Creates a new grounded game protocol for the given grounded game systems.
-
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
-
-
-
-
Constructor Detail
-
GroundedGameProtocol
public GroundedGameProtocol(GroundedGameSystem system)
Creates a new grounded game protocol for the given grounded game systems.- Parameters:
system- a grounded game system.
-
-
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
-
-