Package org.tweetyproject.agents
Class ActionEvent
java.lang.Object
org.tweetyproject.agents.ActionEvent
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 Summary
ConstructorDescriptionActionEvent
(Agent agent, MultiAgentSystem<? extends Agent> multiAgentSystem, Executable action) Creates a new ActionEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturn the actiongetAgent()
Return the agent.MultiAgentSystem
<? extends Agent> Return the multiAgentSystem
-
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
-
getMultiAgentSystem
Return the multiAgentSystem- Returns:
- the multiAgentSystem
-
getAction
-