jmetal.problems.ZDT
Class ZDT3

java.lang.Object
  extended by jmetal.core.Problem
      extended by jmetal.problems.ZDT.ZDT3
All Implemented Interfaces:
java.io.Serializable

public class ZDT3
extends Problem

Class representing problem ZDT3

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_
 
Constructor Summary
ZDT3(java.lang.String solutionType)
          Constructor.
ZDT3(java.lang.String solutionType, java.lang.Integer numberOfVariables)
          Constructor.
 
Method Summary
 double evalH(double f, double g)
          Returns the value of the ZDT3 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

ZDT3

public ZDT3(java.lang.String solutionType)
     throws java.lang.ClassNotFoundException
Constructor. Creates default instance of problem ZDT3 (30 decision variables.

Parameters:
solutionType - The solution type must "Real", "BinaryReal, and "ArrayReal".
Throws:
java.lang.ClassNotFoundException

ZDT3

public ZDT3(java.lang.String solutionType,
            java.lang.Integer numberOfVariables)
Constructor. Creates a instance of ZDT3 problem.

Parameters:
numberOfVariables - Number of variables.
solutionType - The solution type must "Real", "BinaryReal, and "ArrayReal".
Method Detail

evaluate

public void evaluate(Solution solution)
              throws JMException
Evaluates a solution

Specified by:
evaluate in class Problem
Parameters:
solution - The solution to evaluate
Throws:
JMException

evalH

public double evalH(double f,
                    double g)
Returns the value of the ZDT3 function H.

Parameters:
f - First argument of the function H.
g - Second argument of the function H.