public class SharedData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AGENT_NAME
The name of a the best agent with some human error
|
static boolean |
CONSTRUCTIVE_INITIALIZATION
starting the GA with seeds from the constructive algorithm
|
static LevelGenerator |
constructiveGen
constructive level generator to help in speeding up the level generation process
|
static double |
CROSSOVER_PROB
Crossover probability
|
static double |
DELETION_PROB
the probability of deleting an exisiting sprite
|
static java.lang.String |
DO_NOTHING_AGENT_NAME
The name of the do nothing agent
|
static double |
DRAW_FITNESS
a fitness value given if the player ends in draw (not winning neither losing)
|
static double |
EIPSLON
very small value
|
static int |
ELITISM_NUMBER
number of the best chromosomes that are transfered from one generation to another
|
static long |
EVALUATION_STEP_TIME
The amount of time given for each time step
|
static long |
EVALUATION_TIME
the amount of time to evaluate a single level
|
static GameAnalyzer |
gameAnalyzer
A game analyzer object to help in constructing the level
|
static GameDescription |
gameDescription
The game description object
|
static double |
INSERTION_PROB
the probability of inserting a new sprite
|
static double |
MAX_COVER_PERCENTAGE
maximum acceptable cover percentage of sprites
|
static double |
MAX_SCORE_PERCENTAGE
used for calculating the minimum required score for the generated level
|
static double |
MAX_SIZE
maximum level size
|
static double |
MIN_COVER_PERCENTAGE
minimum acceptable cover percentage of sprites
|
static double |
MIN_DOTHING_STEPS
minimum acceptable do nothing steps before dying
|
static double |
MIN_SIZE
minimum level size
|
static double |
MIN_SOLUTION_LENGTH
minimum acceptable solution
|
static double |
MIN_UNIQUE_RULE_NUMBER
minimum amount of unique rules that should be applied
|
static int |
MUTATION_AMOUNT
the amount of times the mutation has to be done on a single chromosome
|
static double |
MUTATION_PROB
Mutation probability
|
static java.lang.String |
NAIVE_AGENT_NAME
The name of a naive agent
|
static int |
POPULATION_SIZE
The size of the Genetic Algorithm Population
|
static java.util.Random |
random
random object to help in choosing random stuff
|
static int |
RANDOM_INIT_AMOUNT
the amount of mutations done on a chromosome to start as random
|
static int |
REPETITION_AMOUNT
The amount of times used to check the one step look ahead and do nothing algorithm
|
Constructor and Description |
---|
SharedData() |
public static final int POPULATION_SIZE
public static final int REPETITION_AMOUNT
public static final long EVALUATION_TIME
public static final long EVALUATION_STEP_TIME
public static final double CROSSOVER_PROB
public static final double MUTATION_PROB
public static final int ELITISM_NUMBER
public static final double EIPSLON
public static final int RANDOM_INIT_AMOUNT
public static final double INSERTION_PROB
public static final double DELETION_PROB
public static final int MUTATION_AMOUNT
public static final double MAX_SCORE_PERCENTAGE
public static final double DRAW_FITNESS
public static final double MIN_SIZE
public static final double MAX_SIZE
public static final double MIN_SOLUTION_LENGTH
public static final double MIN_DOTHING_STEPS
public static final double MIN_COVER_PERCENTAGE
public static final double MAX_COVER_PERCENTAGE
public static final double MIN_UNIQUE_RULE_NUMBER
public static final boolean CONSTRUCTIVE_INITIALIZATION
public static final java.lang.String AGENT_NAME
public static final java.lang.String NAIVE_AGENT_NAME
public static final java.lang.String DO_NOTHING_AGENT_NAME
public static GameDescription gameDescription
public static GameAnalyzer gameAnalyzer
public static java.util.Random random
public static LevelGenerator constructiveGen