public class ZDT4 extends AbstractDoubleProblem
| Constructor and Description |
|---|
ZDT4()
Constructor.
|
ZDT4(Integer numberOfVariables)
Creates a instance of problem ZDT4.
|
| Modifier and Type | Method and Description |
|---|---|
double |
evalG(DoubleSolution solution)
Returns the value of the ZDT4 function G.
|
double |
evalH(double f,
double g)
Returns the value of the ZDT4 function H.
|
void |
evaluate(DoubleSolution solution)
Evaluate() method
|
createSolution, getLowerBound, getUpperBound, setLowerLimit, setUpperLimitgetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariablespublic ZDT4()
public ZDT4(Integer numberOfVariables)
numberOfVariables - Number of variables.public void evaluate(DoubleSolution solution)
public double evalG(DoubleSolution solution)
solution - Solutionpublic double evalH(double f,
double g)
f - First argument of the function H.g - Second argument of the function H.Copyright © 2018. All rights reserved.