Package org.moeaframework.problem.ZDT
Class ZDT3
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.ZDT.ZDT
org.moeaframework.problem.ZDT.ZDT3
- All Implemented Interfaces:
AutoCloseable
,Problem
The ZDT3 test problem.
-
Field Summary
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
-
Constructor Summary
-
Method Summary
Methods inherited from class org.moeaframework.problem.ZDT.ZDT
newSolution
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
ZDT3
public ZDT3()Constructs a ZDT3 test problem with 30 decision variables. -
ZDT3
public ZDT3(int numberOfVariables) Constructs a ZDT3 test problem with the specified number of decision variables.- Parameters:
numberOfVariables
- the number of decision variables
-
-
Method Details
-
evaluate
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
-