Class ActionEvent

java.lang.Object
org.tweetyproject.agents.ActionEvent

public class ActionEvent extends Object
An action event encapsulates a multi agent system, an agent in this system, and an action (which was performed by the agent).
Author:
Matthias Thimm
  • Constructor Details

    • ActionEvent

      public ActionEvent(Agent agent, MultiAgentSystem<? extends Agent> multiAgentSystem, Executable action)
      Creates a new ActionEvent.
      Parameters:
      agent - an agent.
      multiAgentSystem - a multi-agent system.
      action - an executable.
  • Method Details

    • getAgent

      public Agent getAgent()
      Returns:
      the agent
    • getMultiAgentSystem

      public MultiAgentSystem<? extends Agent> getMultiAgentSystem()
      Returns:
      the multiAgentSystem
    • getAction

      public Executable getAction()
      Returns:
      the action