|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.core.Problem
jmetal.problems.ZDT.ZDT5
public class ZDT5
Class representing problem ZDT5
| Field Summary |
|---|
| Fields inherited from class jmetal.core.Problem |
|---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
| Constructor Summary | |
|---|---|
ZDT5(java.lang.String solutionType)
Creates a default instance of problem ZDT5 (11 decision variables). |
|
ZDT5(java.lang.String solutionType,
java.lang.Integer numberOfVariables)
Creates a instance of problem ZDT5 |
|
| Method Summary | |
|---|---|
double |
evalG(Variable[] decisionVariables)
Returns the value of the ZDT5 function G. |
double |
evalH(double f,
double g)
Returns the value of the ZDT5 function H. |
void |
evaluate(Solution solution)
Evaluates a solution |
double |
evalV(double value)
Returns the value of the ZDT5 function V. |
| 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 ZDT5(java.lang.String solutionType)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public ZDT5(java.lang.String solutionType,
java.lang.Integer numberOfVariables)
numberOfVariables - Number of variables.
This problem allows only "Binary" representations.| Method Detail |
|---|
public void evaluate(Solution solution)
evaluate in class Problemsolution - The solution to evaluatepublic double evalG(Variable[] decisionVariables)
decisionVariables - The decision variables of the solution to
evaluate.public double evalV(double value)
value - The parameter of V function.
public double evalH(double f,
double g)
f - First argument of the function H.g - Second argument of the function H.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||