be.optiloading
Class Genetics

java.lang.Object
  extended by be.optiloading.Genetics

public class Genetics
extends java.lang.Object

Genetics class which stores genetic settings and starts/stops the genetic thread.

Author:
Tim Pintens, info@optiloading.be, www.optiloading.be

Field Summary
static int CREATION
           
static int CROSSOVER
           
static float CROSSRATE
           
static float ELITERATE
           
static int GENERATIONS
           
static GeneticThread genetic
           
static int MUTATION
           
static float MUTRATE
           
static int POPSIZE
           
static int SELECTION
           
static boolean STABILITY
           
static boolean STRENGTH
           
static float TARGET
           
static boolean TRIM
           
 
Constructor Summary
Genetics()
           
 
Method Summary
static void setGeneticSettings()
          setGeneticSettings gets the inputed settings from the GUI.
static void start()
          start method starts the genetic thread
static void stop()
          stop method stops the genetic thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET

public static float TARGET

CROSSRATE

public static float CROSSRATE

MUTRATE

public static float MUTRATE

ELITERATE

public static float ELITERATE

POPSIZE

public static int POPSIZE

CREATION

public static int CREATION

SELECTION

public static int SELECTION

CROSSOVER

public static int CROSSOVER

MUTATION

public static int MUTATION

GENERATIONS

public static int GENERATIONS

TRIM

public static boolean TRIM

STRENGTH

public static boolean STRENGTH

STABILITY

public static boolean STABILITY

genetic

public static GeneticThread genetic
Constructor Detail

Genetics

public Genetics()
Method Detail

start

public static void start()
start method starts the genetic thread


setGeneticSettings

public static void setGeneticSettings()
setGeneticSettings gets the inputed settings from the GUI.


stop

public static void stop()
stop method stops the genetic thread