Class ArguingAgent
- java.lang.Object
-
- net.sf.tweety.agents.Agent
-
- net.sf.tweety.agents.dialogues.oppmodels.ArguingAgent
-
public class ArguingAgent extends Agent
This class represent a general arguing agent with an belief state.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description ArguingAgent(GroundedGameSystem.AgentFaction faction, BeliefState beliefState)
Create a new agent with the given name and belief state.
-
Method Summary
Modifier and Type Method Description BeliefState
getBeliefState()
Returns the belief state of the agent.GroundedGameSystem.AgentFaction
getFaction()
Returns the faction of the agent.Executable
next(java.util.Collection<? extends Perceivable> percepts)
Determines the next action of this agent wrt.
-
-
-
Constructor Detail
-
ArguingAgent
public ArguingAgent(GroundedGameSystem.AgentFaction faction, BeliefState beliefState)
Create a new agent with the given name and belief state.- Parameters:
faction
- the type of the agent.beliefState
- a belief state
-
-
Method Detail
-
getFaction
public GroundedGameSystem.AgentFaction getFaction()
Returns the faction of the agent.- Returns:
- the faction of the agent.
-
getBeliefState
public BeliefState getBeliefState()
Returns the belief state of the agent.- Returns:
- the belief state of the agent.
-
next
public Executable next(java.util.Collection<? extends Perceivable> percepts)
Description copied from class:Agent
Determines the next action of this agent wrt. the given percepts.
-
-