public class MooSuite extends Problem implements SimpleProblemForm
Parameters
base.type String, one of: zdt1, zdt2, zdt3, zdt4, zdt6, sphere, sch, fon, qv, pol, kur, f1, f2, unconstrained-f3 |
The multi-objective optimization problem to test against. |
Modifier and Type | Field and Description |
---|---|
private static double |
A1 |
private static double |
A2 |
private static double |
FOUR_PI |
private static double |
ONE_OVER_SQRT_3 |
static String |
P_F1 |
static String |
P_F2 |
static String |
P_F3 |
static String |
P_FON |
static String |
P_KUR |
static String |
P_POL |
static String |
P_QV |
static String |
P_SCH |
static String |
P_SPHERE |
static String |
P_WHICH_PROBLEM |
static String |
P_ZDT1 |
static String |
P_ZDT2 |
static String |
P_ZDT3 |
static String |
P_ZDT4 |
static String |
P_ZDT6 |
static int |
PROB_F2 |
static int |
PROB_F3 |
static int |
PROB_FON |
static int |
PROB_KUR |
static int |
PROB_POL |
static int |
PROB_QV |
static int |
PROB_SCH |
static int |
PROB_SPHERE |
static int |
PROB_ZDT1 |
static int |
PROB_ZDT2 |
static int |
PROB_ZDT3 |
static int |
PROB_ZDT4 |
static int |
PROB_ZDT6 |
int |
problemType |
private static long |
serialVersionUID |
private static double |
SIX_PI |
private static double |
TEN_PI |
private static double |
TWO_PI |
Constructor and Description |
---|
MooSuite() |
Modifier and Type | Method and Description |
---|---|
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.
|
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, reinitializeContacts
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describe
private static final long serialVersionUID
public static final String P_WHICH_PROBLEM
public static final String P_ZDT1
public static final String P_ZDT2
public static final String P_ZDT3
public static final String P_ZDT4
public static final String P_ZDT6
public static final String P_SPHERE
public static final String P_SCH
public static final String P_FON
public static final String P_QV
public static final String P_POL
public static final String P_KUR
public static final String P_F1
public static final String P_F2
public static final String P_F3
public static final int PROB_SPHERE
public static final int PROB_ZDT1
public static final int PROB_ZDT2
public static final int PROB_ZDT3
public static final int PROB_ZDT4
public static final int PROB_ZDT6
public static final int PROB_FON
public static final int PROB_POL
public static final int PROB_KUR
public static final int PROB_QV
public static final int PROB_SCH
public static final int PROB_F2
public static final int PROB_F3
public int problemType
private static final double TWO_PI
private static final double TEN_PI
private static final double FOUR_PI
private static final double SIX_PI
private static final double ONE_OVER_SQRT_3
private static final double A1
private static final double A2
public void setup(EvolutionState state, Parameter base)
Prototype
For 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)
SimpleProblemForm
evaluate
in interface SimpleProblemForm
Copyright © 2019. All rights reserved.