org.moeaframework.problem.ZDT
Class ZDT6
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.ZDT.ZDT
org.moeaframework.problem.ZDT.ZDT6
All Implemented Interfaces: Problem
public class ZDT6 extends ZDT
The ZDT6 test problem.
Constructor Summary
ZDT6 ()
Constructs a ZDT6 test problem with 10 decision variables.
ZDT6 (int numberOfVariables)
Constructs a ZDT6 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
ZDT6
public ZDT6 ()
Constructs a ZDT6 test problem with 10 decision variables.
ZDT6
public ZDT6 (int numberOfVariables)
Constructs a ZDT6 test problem with the specified number of decision
variables.
Parameters: numberOfVariables
- the number of decision variables
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
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!