public class BBOBenchmarks extends Problem implements SimpleProblemForm
Parameters
| base.type String = none (default) , sphere, ellipsoidal, rastrigin, buch-rastrigin, linear-slope, attractive-sector, step-elipsoidal, rosenbrock, rosenbrock-rotated, ellipsoidal-2, discus, bent-cigar, sharp-ridge, different-powers, rastrigin-2, weierstrass, schaffers-f7, schaffers-f7-2, griewak-rosenbrock, schwefel, gallagher-gaussian-101me, gallagher-gaussian-21hi, katsuura, lunacek |
(The particular function) |
| base.noise String = none (default) , gauss, uniform, cauchy, gauss-moderate, uniform-moderate, cauchy-moderate |
(what type of noise (if any) to add to the function value) |
| base.reevaluate-noisy-problems boolean = true(default) |
(whether to reevaluate noisy problems) |
| Modifier and Type | Field and Description |
|---|---|
(package private) double[] |
aK |
(package private) double[][] |
arrScales |
(package private) double[][] |
arrScales21 |
(package private) double[][] |
arrScales22 |
static int |
ATTRACTIVE_SECTOR |
static int |
BENT_CIGAR |
(package private) double[] |
bK |
static int |
BUCHE_RASTRIGIN |
static int |
CAUCHY |
static int |
CAUCHY_MODERATE |
static int |
DIFFERENT_POWERS |
static int |
DISCUS |
static int |
ELLIPSOIDAL |
static int |
ELLIPSOIDAL_2 |
(package private) double |
f0 |
(package private) double |
fAdd_Init |
(package private) double |
fOpt |
static int |
GALLAGHER_GAUSSIAN_101ME |
static int |
GALLAGHER_GAUSSIAN_21HI |
static int |
GAUSSIAN |
static int |
GAUSSIAN_MODERATE |
static int |
GRIEWANK_ROSENBROCK |
static int |
KATSUURA |
static int |
LINEAR_SLOPE |
(package private) double[][] |
linearTF |
static int |
LUNACEK |
static int |
NHIGHPEAKS21 |
static int |
NHIGHPEAKS22 |
int |
noise |
String[] |
noiseTypes |
static int |
NONE |
static String |
P_GENOME_SIZE |
static String |
P_NOISE |
static String |
P_REEVALUATE_NOISY_PROBLEMS |
static String |
P_WHICH_PROBLEM |
(package private) double[] |
peaks21 |
(package private) double[] |
peaks22 |
(package private) double[] |
peakvalues |
int |
problemType |
String[] |
problemTypes |
static int |
RASTRIGIN |
static int |
RASTRIGIN_2 |
boolean |
reevaluateNoisyProblems |
static int |
ROSENBROCK |
static int |
ROSENBROCK_ROTATED |
(package private) double[][] |
rot2 |
(package private) double[][] |
rotation |
(package private) int[] |
rperm |
(package private) int[] |
rperm21 |
(package private) int[] |
rperm22 |
(package private) double |
scales |
static int |
SCHAFFERS_F7 |
static int |
SCHAFFERS_F7_2 |
static int |
SCHWEFEL |
static int |
SHARP_RIDGE |
static int |
SPHERE |
static int |
STEP_ELLIPSOIDAL |
static double |
TOL |
static int |
UNIFORM |
static int |
UNIFORM_MODERATE |
static int |
WEIERSTRASS |
(package private) double[][] |
xLocal |
(package private) double[][] |
xLocal21 |
(package private) double[][] |
xLocal22 |
(package private) double[] |
xOpt |
| Constructor and Description |
|---|
BBOBenchmarks() |
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
computeFopt(MersenneTwisterFast random) |
(package private) void |
computeRotation(double[][] b,
MersenneTwisterFast random,
int genomeSize) |
(package private) void |
computeXopt(double[] xOpt,
MersenneTwisterFast random) |
void |
evaluate(EvolutionState state,
Individual ind,
int subpopulation,
int threadnum)
Evaluates the individual in ind, if necessary (perhaps
not evaluating them if their evaluated flags are true),
and sets their fitness appropriately.
|
(package private) double |
fCauchy(double fTrue,
double alpha,
double p,
MersenneTwisterFast random) |
(package private) double |
fGauss(double fTrue,
double beta,
MersenneTwisterFast random) |
(package private) double |
fUniform(double fTrue,
double alpha,
double beta,
MersenneTwisterFast random) |
(package private) void |
gauss(double[] g,
MersenneTwisterFast random) |
(package private) void |
gauss(double[] g,
MersenneTwisterFast random,
int n) |
(package private) void |
monotoneTFosc(double[] f) |
(package private) double |
nextDoubleClosedInterval(MersenneTwisterFast random) |
(package private) double[][] |
reshape(double[][] b,
double[] vector,
int m,
int n) |
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored
in state, built off of the parameter base base.
|
canEvaluate, clone, closeContacts, defaultBase, describe, describe, finishEvaluating, initializeContacts, prepareToEvaluate, reinitializeContactsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescribepublic static final String P_GENOME_SIZE
public static final String P_WHICH_PROBLEM
public static final String P_NOISE
public static final String P_REEVALUATE_NOISY_PROBLEMS
public final String[] problemTypes
public static final int SPHERE
public static final int ELLIPSOIDAL
public static final int RASTRIGIN
public static final int BUCHE_RASTRIGIN
public static final int LINEAR_SLOPE
public static final int ATTRACTIVE_SECTOR
public static final int STEP_ELLIPSOIDAL
public static final int ROSENBROCK
public static final int ROSENBROCK_ROTATED
public static final int ELLIPSOIDAL_2
public static final int DISCUS
public static final int BENT_CIGAR
public static final int SHARP_RIDGE
public static final int DIFFERENT_POWERS
public static final int RASTRIGIN_2
public static final int WEIERSTRASS
public static final int SCHAFFERS_F7
public static final int SCHAFFERS_F7_2
public static final int GRIEWANK_ROSENBROCK
public static final int SCHWEFEL
public static final int GALLAGHER_GAUSSIAN_101ME
public static final int GALLAGHER_GAUSSIAN_21HI
public static final int KATSUURA
public static final int LUNACEK
public final String[] noiseTypes
public static final int NONE
public static final int GAUSSIAN
public static final int UNIFORM
public static final int CAUCHY
public static final int GAUSSIAN_MODERATE
public static final int UNIFORM_MODERATE
public static final int CAUCHY_MODERATE
public int problemType
public int noise
public boolean reevaluateNoisyProblems
public static final int NHIGHPEAKS21
public static final int NHIGHPEAKS22
double fOpt
double[] xOpt
double fAdd_Init
double f0
double[][] rotation
double[][] rot2
double[][] linearTF
double[] peaks21
double[] peaks22
int[] rperm
int[] rperm21
int[] rperm22
double[][] xLocal
double[][] xLocal21
double[][] xLocal22
double[][] arrScales
double[][] arrScales21
double[][] arrScales22
double[] aK
double[] bK
double[] peakvalues
double scales
public static final double TOL
public void setup(EvolutionState state, Parameter base)
PrototypeFor prototypes, setup(...) is typically called once for the prototype instance; cloned instances do not receive the setup(...) call. setup(...) may be called more than once; the only guarantee is that it will get called at least once on an instance or some "parent" object from which it was ultimately cloned.
public void evaluate(EvolutionState state, Individual ind, int subpopulation, int threadnum)
SimpleProblemFormevaluate in interface SimpleProblemFormvoid gauss(double[] g,
MersenneTwisterFast random)
void gauss(double[] g,
MersenneTwisterFast random,
int n)
void computeXopt(double[] xOpt,
MersenneTwisterFast random)
void monotoneTFosc(double[] f)
double[][] reshape(double[][] b,
double[] vector,
int m,
int n)
void computeRotation(double[][] b,
MersenneTwisterFast random,
int genomeSize)
double fGauss(double fTrue,
double beta,
MersenneTwisterFast random)
double fUniform(double fTrue,
double alpha,
double beta,
MersenneTwisterFast random)
double fCauchy(double fTrue,
double alpha,
double p,
MersenneTwisterFast random)
double computeFopt(MersenneTwisterFast random)
double nextDoubleClosedInterval(MersenneTwisterFast random)
Copyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.