jenes.performance
Class DeJongTest

java.lang.Object
  extended by jenes.performance.DeJongTest

public class DeJongTest
extends java.lang.Object


Field Summary
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 Summary
DeJongTest(int problem, int popSize, int genLimit)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POPULATION_SIZE

protected int POPULATION_SIZE

GENERATION_LIMIT

protected int GENERATION_LIMIT

CHROMOSOME_SIZE

protected int CHROMOSOME_SIZE

MIN_VALUE

protected double MIN_VALUE

MAX_VALUE

protected double MAX_VALUE

ga

protected GeneticAlgorithm<BitwiseChromosome> ga
Constructor Detail

DeJongTest

public DeJongTest(int problem,
                  int popSize,
                  int genLimit)
Method Detail

buildProblem1

protected void buildProblem1()

buildProblem2

protected void buildProblem2()

buildProblem3

protected void buildProblem3()

buildProblem4

protected void buildProblem4()

buildProblem5

protected void buildProblem5()

convert

protected final double convert(int x)

solve

public void solve()

main

public static void main(java.lang.String[] args)