Class GroundedGameT2AgentGenerator
- java.lang.Object
-
- net.sf.tweety.agents.dialogues.oppmodels.sim.GroundedGameAgentGenerator
-
- net.sf.tweety.agents.dialogues.oppmodels.sim.GroundedGameT2AgentGenerator
-
- All Implemented Interfaces:
AgentGenerator<ArguingAgent,GroundedGameSystem>
public class GroundedGameT2AgentGenerator extends GroundedGameAgentGenerator
Generates agents of type T2.- Author:
- Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description private T2Configuration
config
The configuration for generating agents.private static org.slf4j.Logger
log
Logger
-
Constructor Summary
Constructors Constructor Description GroundedGameT2AgentGenerator(GroundedGameSystem.AgentFaction faction, T2Configuration config)
Creates a new generator for agents of type T1.
-
Method Summary
Modifier and Type Method Description protected BeliefState
generateBeliefState(GroundedGameSystem mas, SimulationParameters params)
Generates a belief state for the agent wrt.private T2BeliefState
generateBeliefState(GroundedGameSystem mas, SimulationParameters params, int depth, Extension arguments, GroundedGameSystem.AgentFaction faction)
Generates the (sub-)belief state of a T2-belief state.-
Methods inherited from class net.sf.tweety.agents.dialogues.oppmodels.sim.GroundedGameAgentGenerator
equals, generate, getFaction, getRandom, hashCode, setSeed, toString
-
-
-
-
Field Detail
-
log
private static org.slf4j.Logger log
Logger
-
config
private T2Configuration config
The configuration for generating agents.
-
-
Constructor Detail
-
GroundedGameT2AgentGenerator
public GroundedGameT2AgentGenerator(GroundedGameSystem.AgentFaction faction, T2Configuration config)
Creates a new generator for agents of type T1.- Parameters:
faction
- the faction of the agents to be generated.config
- configuration for creating belief states.
-
-
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 T2BeliefState generateBeliefState(GroundedGameSystem mas, SimulationParameters params, int depth, Extension arguments, GroundedGameSystem.AgentFaction faction)
Generates the (sub-)belief state of a T2-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 T2-belief state
-
-