Class ArguingAgent


  • public class ArguingAgent
    extends Agent
    This class represent a general arguing agent with an belief state.
    Author:
    Matthias Thimm
    • 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

      • 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.
        Specified by:
        next in class Agent
        Parameters:
        percepts - a collection of percepts.
        Returns:
        an action.