Package org.moeaframework.problem.DTLZ
Class DTLZ
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.DTLZ.DTLZ
- All Implemented Interfaces:
AutoCloseable
,Problem
,AnalyticalProblem
Implements methods shared by all problems in the DTLZ test suite.
-
Field Summary
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
-
Constructor Summary
ConstructorDescriptionDTLZ
(int numberOfVariables, int numberOfObjectives) Constructs a new DTLZ problem instance with the specified number of variables and objectives. -
Method Summary
Modifier and TypeMethodDescriptionReturns a new solution for this problem.Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.moeaframework.problem.AnalyticalProblem
generate
Methods inherited from interface org.moeaframework.core.Problem
close, evaluate, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, isType
-
Constructor Details
-
DTLZ
public DTLZ(int numberOfVariables, int numberOfObjectives) Constructs a new DTLZ problem instance with the specified number of variables and objectives.- Parameters:
numberOfVariables
- the number of variables for this problemnumberOfObjectives
- the number of objectives for this problem
-
-
Method Details
-
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 typically leave the actual value at a default or undefined state.- Specified by:
newSolution
in interfaceProblem
- Returns:
- a new solution for this problem
-