|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.javaGenes.core.FitnessFunction
gov.nasa.javaGenes.evolvableDoubleList.DeJongFitnessFunctions
The well know De Jong fitness functions. Taken from http://home.ku.edu.tr/~dyuret/pub/aitr1569/node19.html and http://cs.gmu.edu/~eclab/kdj_thesis/appendices.pdf
Field Summary | |
protected static double[][] |
foxholes
|
static java.lang.String[] |
names
|
protected int |
number
|
static int |
QUARTIC_NOISE
|
static DoubleInterval |
quarticNoiseRange
|
static int |
ROSENBROCK
|
static DoubleInterval |
rosenbrockRange
|
static int |
SHEKEL_FOXHOLES
|
static DoubleInterval |
shekelFoxholesRange
|
static int |
SPHERE
|
static DoubleInterval |
sphereRange
|
static int |
STEP
|
static DoubleInterval |
stepRange
|
Fields inherited from class gov.nasa.javaGenes.core.FitnessFunction |
name |
Constructor Summary | |
DeJongFitnessFunctions(int number)
|
Method Summary | |
Fitness |
evaluateFitness(Evolvable evolvable)
|
protected double |
gauss()
|
double |
quarticNoise(EvolvableDoubleList list)
min = f(0,...,0) == 0 originally for list.getSize() = 30 |
double |
rosenbrock(EvolvableDoubleList list)
min = f(1,...1) = 0. |
double |
shekelFoxholes(EvolvableDoubleList list)
min = f(-32,-32) -- and four others ~= 1, the numbers are in a strange space, see code originally for list.getSize() = 2 with 25 local minima |
double |
sphere(EvolvableDoubleList list)
min = f(0,...,0) == 0 originally for list.getSize() = 3 |
double |
step(EvolvableDoubleList list)
min = f({-5.12,-5],...,[-5.12,-5]) == 0 originally for list.getSize() = 5 Again the references disagree, but this time I use the second one since the min is always 0 regarless of dimensionality |
java.lang.String |
toString()
|
Methods inherited from class gov.nasa.javaGenes.core.FitnessFunction |
bestDouble, getFunction, getName, getNameArray, isNewFunction, makeFiles, numberOfObjectives, report, setName, worstDouble |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SPHERE
public static final int ROSENBROCK
public static final int STEP
public static final int QUARTIC_NOISE
public static final int SHEKEL_FOXHOLES
public static final java.lang.String[] names
public static final DoubleInterval sphereRange
public static final DoubleInterval rosenbrockRange
public static final DoubleInterval stepRange
public static final DoubleInterval quarticNoiseRange
public static final DoubleInterval shekelFoxholesRange
protected int number
protected static double[][] foxholes
Constructor Detail |
public DeJongFitnessFunctions(int number)
Method Detail |
public Fitness evaluateFitness(Evolvable evolvable)
evaluateFitness
in class FitnessFunction
public double sphere(EvolvableDoubleList list)
public double rosenbrock(EvolvableDoubleList list)
public double step(EvolvableDoubleList list)
public double quarticNoise(EvolvableDoubleList list)
protected double gauss()
public double shekelFoxholes(EvolvableDoubleList list)
public java.lang.String toString()
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |