|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.core.Problem
jmetal.problems.WFG.WFG
public abstract class WFG
Implements a reference abstract class for all WFG test problems Reference: Simon Huband, Luigi Barone, Lyndon While, Phil Hingston A Scalable Multi-objective Test Problem Toolkit. Evolutionary Multi-Criterion Optimization: Third International Conference, EMO 2005. Proceedings, volume 3410 of Lecture Notes in Computer Science
| Field Summary | |
|---|---|
protected int[] |
A_
|
protected int |
D_
|
protected int |
k_
|
protected int |
l_
|
protected int |
M_
|
protected java.util.Random |
random
|
protected int[] |
S_
|
| Fields inherited from class jmetal.core.Problem |
|---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
| Constructor Summary | |
|---|---|
WFG(java.lang.String solutionType,
java.lang.Integer k,
java.lang.Integer l,
java.lang.Integer M)
Constructor Creates a WFG problem |
|
| Method Summary | |
|---|---|
float[] |
calculate_x(float[] t)
Gets the x vector (consulte WFG tooltik reference) |
float |
correct_to_01(float a)
|
abstract float[] |
evaluate(float[] variables)
Evaluates a solution |
float[] |
normalise(float[] z)
Normalizes a vector (consulte WFG toolkit reference) |
float[] |
subVector(float[] z,
int head,
int tail)
Gets a subvector of a given vector (Head inclusive and tail inclusive) |
| Methods inherited from class jmetal.core.Problem |
|---|
evaluate, 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 |
| Field Detail |
|---|
protected int k_
protected int M_
protected int l_
protected int[] A_
protected int[] S_
protected int D_
protected java.util.Random random
| Constructor Detail |
|---|
public WFG(java.lang.String solutionType,
java.lang.Integer k,
java.lang.Integer l,
java.lang.Integer M)
k - position-related parametersl - distance-related parametersM - Number of objectivessolutionType - The solution type must "Real" or "BinaryReal".| Method Detail |
|---|
public float[] calculate_x(float[] t)
public float[] normalise(float[] z)
public float correct_to_01(float a)
public float[] subVector(float[] z,
int head,
int tail)
z - the vector
public abstract float[] evaluate(float[] variables)
variables - The solution to evaluate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||