Class DTLZ

java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.DTLZ.DTLZ
All Implemented Interfaces:
AutoCloseable, Problem, AnalyticalProblem
Direct Known Subclasses:
DTLZ1, DTLZ2, DTLZ3, DTLZ4, DTLZ5, DTLZ6, DTLZ7

public abstract class DTLZ extends AbstractProblem implements AnalyticalProblem
Implements methods shared by all problems in the DTLZ test suite.
  • 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 problem
      numberOfObjectives - the number of objectives for this problem
  • Method Details

    • 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 typically leave the actual value at a default or undefined state.
      Specified by:
      newSolution in interface Problem
      Returns:
      a new solution for this problem