ec.app.moosuite
Class MooSuite
- java.lang.Object
-
- ec.Problem
-
- ec.app.moosuite.MooSuite
-
- All Implemented Interfaces:
- Prototype, Setup, SimpleProblemForm, java.io.Serializable, java.lang.Cloneable
public class MooSuite extends Problem implements SimpleProblemForm
Several standard Multi-objective benchmarks are implemented:- ZDT1: Zitzler, Deb & Thiele
- ZDT2: Zitzler, Deb & Thiele
- ZDT3: Zitzler, Deb & Thiele
- ZDT4: Zitzler, Deb & Thiele
- ZDT6: Zitzler, Deb & Thiele
- SPHERE: ftp.tik.ee.ethz.ch/pub/people/zitzler/ZLT2001a.pdf
- SCH: (Schaffer), (a.k.a. F1 in Srinivas & Deb); requires exactly 1 decision variables (genes)
- F2: (Schaffer), (Srinivas & Deb), (Coello Coello & Cortes); requires exactly 1 decision variables (genes)
- unconstrained F3: Schaffer, Srinivas & Deb (Chankong & Haimes); requires exactly 2 decision variables (genes)
- QV: Quagliarella & Vicini
- FON: Fonseca & Fleming; requires exactly 3 decision variables (genes)
- POL: Poloni; requires exactly 2 decision variables (genes)
- KUR: Kursawe from the Errata of Zitzler's TIK-Report 103: "SPEA2: Improving the Strength Pareto Evolutionary Algorithm" (note that many different versions are described in the literature).
Parameters
base.type
String, one of: zdt1, zdt2, zdt3, zdt4, zdt6, sphere, sch, fon, qv, pol, kur, f1, f2, unconstrained-f3The multi-objective optimization problem to test against. - See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringP_F1static java.lang.StringP_F2static java.lang.StringP_F3static java.lang.StringP_FONstatic java.lang.StringP_KUR_NSGA2static java.lang.StringP_KUR_SPEA2static java.lang.StringP_POLstatic java.lang.StringP_QVstatic java.lang.StringP_SCHstatic java.lang.StringP_SPHEREstatic java.lang.StringP_WHICH_PROBLEMstatic java.lang.StringP_ZDT1static java.lang.StringP_ZDT2static java.lang.StringP_ZDT3static java.lang.StringP_ZDT4static java.lang.StringP_ZDT6static intPROB_F2static intPROB_F3static intPROB_FONstatic intPROB_KUR_NSGA2static intPROB_KUR_SPEA2static intPROB_POLstatic intPROB_QVstatic intPROB_SCHstatic intPROB_SPHEREstatic intPROB_ZDT1static intPROB_ZDT2static intPROB_ZDT3static intPROB_ZDT4static intPROB_ZDT6intproblemType
-
Constructor Summary
Constructors Constructor and Description MooSuite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidevaluate(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.voidsetup(EvolutionState state, Parameter base)Sets up the object by reading it from the parameters stored in state, built off of the parameter base base.-
Methods inherited from class ec.Problem
canEvaluate, clone, closeContacts, defaultBase, describe, describe, finishEvaluating, initializeContacts, prepareToEvaluate, reinitializeContacts
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ec.simple.SimpleProblemForm
describe
-
-
-
-
Field Detail
-
P_WHICH_PROBLEM
public static final java.lang.String P_WHICH_PROBLEM
- See Also:
- Constant Field Values
-
P_ZDT1
public static final java.lang.String P_ZDT1
- See Also:
- Constant Field Values
-
P_ZDT2
public static final java.lang.String P_ZDT2
- See Also:
- Constant Field Values
-
P_ZDT3
public static final java.lang.String P_ZDT3
- See Also:
- Constant Field Values
-
P_ZDT4
public static final java.lang.String P_ZDT4
- See Also:
- Constant Field Values
-
P_ZDT6
public static final java.lang.String P_ZDT6
- See Also:
- Constant Field Values
-
P_SPHERE
public static final java.lang.String P_SPHERE
- See Also:
- Constant Field Values
-
P_SCH
public static final java.lang.String P_SCH
- See Also:
- Constant Field Values
-
P_FON
public static final java.lang.String P_FON
- See Also:
- Constant Field Values
-
P_QV
public static final java.lang.String P_QV
- See Also:
- Constant Field Values
-
P_POL
public static final java.lang.String P_POL
- See Also:
- Constant Field Values
-
P_KUR_NSGA2
public static final java.lang.String P_KUR_NSGA2
- See Also:
- Constant Field Values
-
P_KUR_SPEA2
public static final java.lang.String P_KUR_SPEA2
- See Also:
- Constant Field Values
-
P_F1
public static final java.lang.String P_F1
- See Also:
- Constant Field Values
-
P_F2
public static final java.lang.String P_F2
- See Also:
- Constant Field Values
-
P_F3
public static final java.lang.String P_F3
- See Also:
- Constant Field Values
-
PROB_SPHERE
public static final int PROB_SPHERE
- See Also:
- Constant Field Values
-
PROB_ZDT1
public static final int PROB_ZDT1
- See Also:
- Constant Field Values
-
PROB_ZDT2
public static final int PROB_ZDT2
- See Also:
- Constant Field Values
-
PROB_ZDT3
public static final int PROB_ZDT3
- See Also:
- Constant Field Values
-
PROB_ZDT4
public static final int PROB_ZDT4
- See Also:
- Constant Field Values
-
PROB_ZDT6
public static final int PROB_ZDT6
- See Also:
- Constant Field Values
-
PROB_FON
public static final int PROB_FON
- See Also:
- Constant Field Values
-
PROB_POL
public static final int PROB_POL
- See Also:
- Constant Field Values
-
PROB_KUR_NSGA2
public static final int PROB_KUR_NSGA2
- See Also:
- Constant Field Values
-
PROB_KUR_SPEA2
public static final int PROB_KUR_SPEA2
- See Also:
- Constant Field Values
-
PROB_QV
public static final int PROB_QV
- See Also:
- Constant Field Values
-
PROB_SCH
public static final int PROB_SCH
- See Also:
- Constant Field Values
-
PROB_F2
public static final int PROB_F2
- See Also:
- Constant Field Values
-
PROB_F3
public static final int PROB_F3
- See Also:
- Constant Field Values
-
problemType
public int problemType
-
-
Method Detail
-
setup
public void setup(EvolutionState state, Parameter base)
Description copied from interface:PrototypeSets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.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.
-
evaluate
public void evaluate(EvolutionState state, Individual ind, int subpopulation, int threadnum)
Description copied from interface:SimpleProblemFormEvaluates the individual in ind, if necessary (perhaps not evaluating them if their evaluated flags are true), and sets their fitness appropriately.- Specified by:
evaluatein interfaceSimpleProblemForm
-
-
DMelt 3.0 © DataMelt by jWork.ORG