jmetal.problems.DTLZ
Class DTLZ2

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

public class DTLZ2
extends Problem

Class representing problem ZDT2

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_
 
Constructor Summary
DTLZ2(java.lang.String solutionType)
          Creates a default DTLZ2 problem (12 variables and 3 objectives)
DTLZ2(java.lang.String solutionType, java.lang.Integer numberOfVariables, java.lang.Integer numberOfObjectives)
          Creates a new instance of DTLZ2
 
Method Summary
 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

DTLZ2

public DTLZ2(java.lang.String solutionType)
      throws java.lang.ClassNotFoundException
Creates a default DTLZ2 problem (12 variables and 3 objectives)

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

DTLZ2

public DTLZ2(java.lang.String solutionType,
             java.lang.Integer numberOfVariables,
             java.lang.Integer numberOfObjectives)
Creates a new instance of DTLZ2

Parameters:
numberOfVariables - Number of variables
numberOfObjectives - Number of objective functions
solutionType - The solution type must "Real" or "BinaryReal".
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