MOEA Framework 2.12
API Specification

org.moeaframework.problem.ZDT
Class ZDT

java.lang.Object
  extended by org.moeaframework.problem.AbstractProblem
      extended by org.moeaframework.problem.ZDT.ZDT
All Implemented Interfaces:
Problem
Direct Known Subclasses:
ZDT1, ZDT2, ZDT3, ZDT4, ZDT5, ZDT6

public abstract class ZDT
extends AbstractProblem

Implements methods shared by all problems in the ZDT test suite.


Field Summary
 
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
 
Constructor Summary
ZDT(int numberOfVariables)
          Constructs a ZDT problem instance with the specified number of variables.
 
Method Summary
 Solution newSolution()
          Returns a new solution for this problem.
 
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, finalize, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.moeaframework.core.Problem
evaluate
 

Constructor Detail

ZDT

public ZDT(int numberOfVariables)
Constructs a ZDT problem instance with the specified number of variables.

Parameters:
numberOfVariables - the number of decision variables
Method Detail

newSolution

public Solution newSolution()
Description copied from interface: Problem
Returns a new solution for this problem. Implementations must initialize the variables so that the valid range of values is defined, but may leave the actual value at a default or undefined state.

Returns:
a new solution for this problem

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!