public class DeJongTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
CHROMOSOME_SIZE |
protected GeneticAlgorithm<BitwiseChromosome> |
ga |
protected int |
GENERATION_LIMIT |
protected double |
MAX_VALUE |
protected double |
MIN_VALUE |
protected int |
POPULATION_SIZE |
Constructor and Description |
---|
DeJongTest(int problem,
int popSize,
int genLimit) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildProblem1() |
protected void |
buildProblem2() |
protected void |
buildProblem3() |
protected void |
buildProblem4() |
protected void |
buildProblem5() |
protected double |
convert(int x) |
static void |
main(java.lang.String[] args) |
void |
solve() |
protected int POPULATION_SIZE
protected int GENERATION_LIMIT
protected int CHROMOSOME_SIZE
protected double MIN_VALUE
protected double MAX_VALUE
protected GeneticAlgorithm<BitwiseChromosome> ga
protected void buildProblem1()
protected void buildProblem2()
protected void buildProblem3()
protected void buildProblem4()
protected void buildProblem5()
protected final double convert(int x)
public void solve()
public static void main(java.lang.String[] args)