Class GroundedGameT1AgentGenerator
- java.lang.Object
-
- net.sf.tweety.agents.dialogues.oppmodels.sim.GroundedGameAgentGenerator
-
- net.sf.tweety.agents.dialogues.oppmodels.sim.GroundedGameT1AgentGenerator
-
- All Implemented Interfaces:
AgentGenerator<ArguingAgent,GroundedGameSystem>
public class GroundedGameT1AgentGenerator extends GroundedGameAgentGenerator
Generates agents of type T1.- Author:
- Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description private T1Configuration
config
The configuration for generating agents.private static org.slf4j.Logger
log
Logger
-
Constructor Summary
Constructors Constructor Description GroundedGameT1AgentGenerator(GroundedGameSystem.AgentFaction faction, T1Configuration config)
Creates a new generator for agents of type T1.
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
protected BeliefState
generateBeliefState(GroundedGameSystem mas, SimulationParameters params)
Generates a belief state for the agent wrt.private T1BeliefState
generateBeliefState(GroundedGameSystem mas, SimulationParameters params, int depth, Extension arguments, GroundedGameSystem.AgentFaction faction)
Generates the (sub-)belief state of a T1-belief state.int
hashCode()
-
Methods inherited from class net.sf.tweety.agents.dialogues.oppmodels.sim.GroundedGameAgentGenerator
generate, getFaction, getRandom, setSeed, toString
-
-
-
-
Field Detail
-
log
private static org.slf4j.Logger log
Logger
-
config
private T1Configuration config
The configuration for generating agents.
-
-
Constructor Detail
-
GroundedGameT1AgentGenerator
public GroundedGameT1AgentGenerator(GroundedGameSystem.AgentFaction faction, T1Configuration config)
Creates a new generator for agents of type T1.- Parameters:
faction
- the faction of the agents to be generated.config
- configuration object
-
-
Method Detail
-
generateBeliefState
protected BeliefState generateBeliefState(GroundedGameSystem mas, SimulationParameters params)
Description copied from class:GroundedGameAgentGenerator
Generates a belief state for the agent wrt. the given MAS- Specified by:
generateBeliefState
in classGroundedGameAgentGenerator
- Parameters:
mas
- a grounded game system.params
- shared simulation parameters.- Returns:
- a belief state
-
generateBeliefState
private T1BeliefState generateBeliefState(GroundedGameSystem mas, SimulationParameters params, int depth, Extension arguments, GroundedGameSystem.AgentFaction faction)
Generates the (sub-)belief state of a T1-belief state.- Parameters:
mas
- the multi-agent system under consideration.params
- parameters for the simulation.depth
- the maximal depth of the recursive model.arguments
- the arguments that are currently in the viewfaction
- the faction of the model to be generated.- Returns:
- a T1-belief state
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGroundedGameAgentGenerator
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classGroundedGameAgentGenerator
-
-