|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmetal.core.Problem
jmetal.problems.WFG.WFG
jmetal.problems.WFG.WFG7
public class WFG7
Field Summary |
---|
Fields inherited from class jmetal.problems.WFG.WFG |
---|
A_, D_, k_, l_, M_, random, S_ |
Fields inherited from class jmetal.core.Problem |
---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
Constructor Summary | |
---|---|
WFG7(java.lang.String solutionType)
Creates a default WFG7 problem with 2 position-related parameters, 4 distance-related parameters, and 2 objectives |
|
WFG7(java.lang.String solutionType,
java.lang.Integer k,
java.lang.Integer l,
java.lang.Integer M)
Creates a WFG7 problem instance |
Method Summary | |
---|---|
float[] |
evaluate(float[] z)
Evaluates a solution |
void |
evaluate(Solution solution)
Evaluates a solution |
float[] |
t1(float[] z,
int k)
WFG7 t1 transformation |
float[] |
t2(float[] z,
int k)
WFG7 t2 transformation |
float[] |
t3(float[] z,
int k,
int M)
WFG7 t3 transformation |
Methods inherited from class jmetal.problems.WFG.WFG |
---|
calculate_x, correct_to_01, normalise, subVector |
Methods inherited from class jmetal.core.Problem |
---|
evaluateConstraints, getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setNumberOfVariables, setPrecision, setSolutionType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WFG7(java.lang.String solutionType) throws java.lang.ClassNotFoundException
solutionType
- The solution type must "Real" or "BinaryReal".
java.lang.ClassNotFoundException
public WFG7(java.lang.String solutionType, java.lang.Integer k, java.lang.Integer l, java.lang.Integer M) throws java.lang.ClassNotFoundException
k
- Number of position parametersl
- Number of distance parametersM
- Number of objective functionssolutionType
- The solution type must "Real" or "BinaryReal".
java.lang.ClassNotFoundException
Method Detail |
---|
public float[] evaluate(float[] z)
evaluate
in class WFG
z
- The solution to evaluate
public float[] t1(float[] z, int k)
public float[] t2(float[] z, int k)
public float[] t3(float[] z, int k, int M)
public final void evaluate(Solution solution) throws JMException
evaluate
in class Problem
solution
- The solution to evaluate
JMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |