|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.core.Problem
jmetal.problems.ZDT.ZDT1
public class ZDT1
Class representing problem ZDT1
| Field Summary |
|---|
| Fields inherited from class jmetal.core.Problem |
|---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
| Constructor Summary | |
|---|---|
ZDT1(java.lang.String solutionType)
Constructor. |
|
ZDT1(java.lang.String solutionType,
java.lang.Integer numberOfVariables)
Creates a new instance of problem ZDT1. |
|
| Method Summary | |
|---|---|
double |
evalH(double f,
double g)
Returns the value of the ZDT1 function H. |
void |
evaluate(Solution solution)
Evaluates a solution. |
| 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 ZDT1(java.lang.String solutionType)
throws java.lang.ClassNotFoundException
solutionType - The solution type must "Real", "BinaryReal, and "ArrayReal".
ArrayReal, or ArrayRealC".
java.lang.ClassNotFoundException
public ZDT1(java.lang.String solutionType,
java.lang.Integer numberOfVariables)
numberOfVariables - Number of variables.solutionType - The solution type must "Real", "BinaryReal, and "ArrayReal".| Method Detail |
|---|
public void evaluate(Solution solution)
throws JMException
evaluate in class Problemsolution - The solution to evaluate.
JMException
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 | |||||||||