Package org.moeaframework.problem.MaF
Class MaF2
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.DTLZ.DTLZ
org.moeaframework.problem.MaF.MaF2
- All Implemented Interfaces:
AutoCloseable
,Problem
The MaF2 test problem, also known as the "DTLZ2BZ" problem. This problem exhibits the following
properties:
- Concave Pareto front
- No single optimal solution in any subset of the objectives
-
Field Summary
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
-
Constructor Summary
ConstructorDescriptionMaF2
(int numberOfObjectives) Constructs an MaF2 test problem with the specified number of objectives. -
Method Summary
Methods inherited from class org.moeaframework.problem.DTLZ.DTLZ
g1, g2, generateAt, getName, newSolution
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
MaF2
public MaF2(int numberOfObjectives) Constructs an MaF2 test problem with the specified number of objectives.- Parameters:
numberOfObjectives
- the number of objectives for this problem
-
-
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
-