public class LotteryGameGenerator extends java.lang.Object implements MultiAgentSystemGenerator<AbstractLotteryAgent,LotteryGameSystem>
| Modifier and Type | Field and Description | 
|---|---|
private boolean | 
ensureArg
whether the theories generated should ensure 
        one specific argument to be skeptically inferred. 
 | 
private DungTheoryGenerator | 
gen
for generating Dung theories. 
 | 
static int | 
PARAM_ARGUMENT
Key for the simulation parameter which refers to the argument of the dialogue. 
 | 
static int | 
PARAM_DUMMY_THEORY
Key for the simulation parameter which refers to the dummy agent's theory. 
 | 
static int | 
PARAM_LOT_PROB
Key for the simulation parameter which refers to the probability function for the actual lottery agent. 
 | 
static int | 
PARAM_LOT_UTIL
Key for the simulation parameter which refers to the utility function for the actual lottery agent. 
 | 
static int | 
PARAM_SEM
Key for the simulation parameter which refers to the semantics used. 
 | 
static int | 
PARAM_UNIVERSALTHEORY
Key for the simulation parameter which refers to the universal theory generated. 
 | 
private java.util.Random | 
random
Random numbers generator. 
 | 
private Semantics | 
semantics
The semantics used. 
 | 
| Constructor and Description | 
|---|
LotteryGameGenerator(DungTheoryGenerator gen,
                    Semantics semantics)
Creates a new game generator. 
 | 
LotteryGameGenerator(DungTheoryGenerator gen,
                    Semantics semantics,
                    boolean ensureArg)
Creates a new game generator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LotteryGameSystem | 
generate(SimulationParameters params)
Generates a new multi-agent system. 
 | 
void | 
setSeed(long seed)
Set the seed for the generation. 
 | 
public static final int PARAM_UNIVERSALTHEORY
public static final int PARAM_ARGUMENT
public static final int PARAM_DUMMY_THEORY
public static final int PARAM_LOT_PROB
public static final int PARAM_LOT_UTIL
public static final int PARAM_SEM
private DungTheoryGenerator gen
private Semantics semantics
private java.util.Random random
private boolean ensureArg
public LotteryGameGenerator(DungTheoryGenerator gen, Semantics semantics)
gen - for generating Dung theories.semantics - the semantics used.public LotteryGameGenerator(DungTheoryGenerator gen, Semantics semantics, boolean ensureArg)
gen - for generating Dung theories.semantics - the semantics used.ensureArg - whether the theories generated should ensure 
        one specific argument to be skeptically inferred.public LotteryGameSystem generate(SimulationParameters params)
MultiAgentSystemGeneratorgenerate in interface MultiAgentSystemGenerator<AbstractLotteryAgent,LotteryGameSystem>params - this object can be used for sharing parameters across
  the generating components of a simulation.public void setSeed(long seed)
MultiAgentSystemGeneratorsetSeed in interface MultiAgentSystemGenerator<AbstractLotteryAgent,LotteryGameSystem>seed - some seed.