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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setSeed

        public void setSeed​(long seed)
        Description copied from interface: AgentGenerator
        Set the seed for the generation. Every two runs of generations with the same seed are ensured to be identical.
        Specified by:
        setSeed in interface AgentGenerator<ArguingAgent,​GroundedGameSystem>
        Parameters:
        seed - some seed.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object