Class 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.GameProtocol
    This class implements a direct protocol for argumentation games.
    Author:
    Matthias Thimm
    • Field Summary

      • Fields inherited from class net.sf.tweety.agents.SynchronousProtocol

        UNLIMITED_EXECUTION
    • Constructor Summary

      Constructors 
      Constructor Description
      DirectGameProtocol​(net.sf.tweety.agents.MultiAgentSystem<? extends net.sf.tweety.agents.Agent> multiAgentSystem)  
    • Method Summary

      Modifier and Type Method Description
      Double getUtility​(net.sf.tweety.agents.Agent agent)  
      net.sf.tweety.agents.Agent getWinner()  
      boolean hasWinner()  
      String toString()  
      • Methods inherited from class net.sf.tweety.agents.SynchronousProtocol

        doStep, hasTerminated
      • 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
      • Methods inherited from interface net.sf.tweety.agents.Protocol

        addProtocolListener, removeProtocolListener
    • Constructor Detail

      • DirectGameProtocol

        public DirectGameProtocol​(net.sf.tweety.agents.MultiAgentSystem<? extends net.sf.tweety.agents.Agent> multiAgentSystem)
    • Method Detail

      • hasWinner

        public boolean hasWinner()
        Specified by:
        hasWinner in interface net.sf.tweety.agents.sim.GameProtocol
      • getWinner

        public net.sf.tweety.agents.Agent getWinner()
        Specified by:
        getWinner in interface net.sf.tweety.agents.sim.GameProtocol
      • getUtility

        public Double getUtility​(net.sf.tweety.agents.Agent agent)
        Specified by:
        getUtility in interface net.sf.tweety.agents.sim.GameProtocol