Class GroundedGameAgentGenerator

    • Constructor Detail

      • GroundedGameAgentGenerator

        public GroundedGameAgentGenerator​(GroundedGameSystem.AgentFaction faction)
        Creates a new agent generator.
        Parameters:
        faction - the type of the agents to be generated.
    • Method Detail

      • getFaction

        public GroundedGameSystem.AgentFaction getFaction()
        Returns the faction of the generated agents.
        Returns:
        the faction of the generated agents.
      • generateBeliefState

        protected abstract BeliefState generateBeliefState​(GroundedGameSystem mas,
                                                           net.sf.tweety.agents.sim.SimulationParameters params)
        Generates a belief state for the agent wrt. the given MAS
        Parameters:
        mas - a grounded game system.
        params - shared simulation parameters.
        Returns:
        a belief state
      • setSeed

        public void setSeed​(long seed)
        Specified by:
        setSeed in interface net.sf.tweety.agents.sim.AgentGenerator<ArguingAgent,​GroundedGameSystem>
      • getRandom

        protected Random getRandom()
        Returns the random number generator.
        Returns:
        the random number generator.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object