MOEA Framework 2.12
API Specification

org.moeaframework.problem.ZDT
Class ZDT1

java.lang.Object
  extended by org.moeaframework.problem.AbstractProblem
      extended by org.moeaframework.problem.ZDT.ZDT
          extended by org.moeaframework.problem.ZDT.ZDT1
All Implemented Interfaces:
Problem

public class ZDT1
extends ZDT

The ZDT1 test problem.


Field Summary
 
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
 
Constructor Summary
ZDT1()
          Constructs a ZDT1 test problem with 30 decision variables.
ZDT1(int numberOfVariables)
          Constructs a ZDT1 test problem with the specified number of decision variables.
 
Method Summary
 void evaluate(Solution solution)
          Evaluates the solution, updating the solution's objectives in place.
 
Methods inherited from class org.moeaframework.problem.ZDT.ZDT
newSolution
 
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
 

Constructor Detail

ZDT1

public ZDT1()
Constructs a ZDT1 test problem with 30 decision variables.


ZDT1

public ZDT1(int numberOfVariables)
Constructs a ZDT1 test problem with the specified number of decision variables.

Parameters:
numberOfVariables - the number of decision variables
Method Detail

evaluate

public void evaluate(Solution solution)
Description copied from interface: Problem
Evaluates the solution, updating the solution's objectives in place. Algorithms must explicitly call this method when appropriate to evaluate new solutions or reevaluate modified solutions.

Parameters:
solution - the solution to be evaluated

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!