Package org.tweetyproject.agents
Class Agent
java.lang.Object
org.tweetyproject.agents.Agent
- Direct Known Subclasses:
AbstractLotteryAgent
,ArguingAgent
,DummyAgent
,SasAgent
An agent is a possibly proactive entity situated in some environment.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this agent.abstract Executable
next
(Collection<? extends Perceivable> percepts) Determines the next action of this agent wrt.toString()
-
Constructor Details
-
Agent
-
-
Method Details
-
getName
-
next
Determines the next action of this agent wrt. the given percepts.- Parameters:
percepts
- a collection of percepts.- Returns:
- an action.
-
toString
-