public class ArguingAgent extends Agent
Modifier and Type | Field and Description |
---|---|
private BeliefState |
beliefState
The belief state of the agent.
|
private GroundedGameSystem.AgentFaction |
faction
The faction of the agent.
|
Constructor and Description |
---|
ArguingAgent(GroundedGameSystem.AgentFaction faction,
BeliefState beliefState)
Create a new agent with the given name and belief state.
|
Modifier and Type | Method and Description |
---|---|
BeliefState |
getBeliefState()
Returns the belief state of the agent.
|
GroundedGameSystem.AgentFaction |
getFaction()
Returns the faction of the agent.
|
protected double |
getUtility(DialogueTrace<Argument,Extension> trace)
Assess the given dialogue trace with the belief states utility function.
|
Executable |
next(java.util.Collection<? extends Perceivable> percepts)
Determines the next action of this agent wrt.
|
private BeliefState beliefState
private GroundedGameSystem.AgentFaction faction
public ArguingAgent(GroundedGameSystem.AgentFaction faction, BeliefState beliefState)
faction
- the type of the agent.beliefState
- a belief statepublic GroundedGameSystem.AgentFaction getFaction()
public BeliefState getBeliefState()
public Executable next(java.util.Collection<? extends Perceivable> percepts)
Agent
protected double getUtility(DialogueTrace<Argument,Extension> trace)
trace
- a dialogue trace