|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.problem.AbstractProblem
org.moeaframework.problem.DTLZ.DTLZ
org.moeaframework.problem.DTLZ.DTLZ2
public class DTLZ2
The DTLZ2 test problem.
| Field Summary |
|---|
| Fields inherited from class org.moeaframework.problem.AbstractProblem |
|---|
numberOfConstraints, numberOfObjectives, numberOfVariables |
| Constructor Summary | |
|---|---|
DTLZ2(int numberOfObjectives)
Constructs a DTLZ2 test problem with the specified number of objectives. |
|
DTLZ2(int numberOfVariables,
int numberOfObjectives)
Constructs a DTLZ2 test problem with the specified number of variables and objectives. |
|
| Method Summary | |
|---|---|
void |
evaluate(Solution solution)
Evaluates the solution, updating the solution's objectives in place. |
Solution |
generate()
Returns a randomly-generated solution using the analytical solution to this problem. |
| Methods inherited from class org.moeaframework.problem.DTLZ.DTLZ |
|---|
newSolution |
| Methods inherited from class org.moeaframework.problem.AbstractProblem |
|---|
close, finalize, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.moeaframework.core.Problem |
|---|
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables |
| Constructor Detail |
|---|
public DTLZ2(int numberOfObjectives)
new DTLZ2(numberOfObjectives+9,
numberOfObjectives)
numberOfObjectives - the number of objectives for this problem
public DTLZ2(int numberOfVariables,
int numberOfObjectives)
numberOfVariables - the number of variables for this problemnumberOfObjectives - the number of objectives for this problem| Method Detail |
|---|
public void evaluate(Solution solution)
Problem
solution - the solution to be evaluatedpublic Solution generate()
AnalyticalProblemNondominatedPopulation to removed dominated solutions prior to
using the generated reference set.
The generated solutions should be spread uniformly across the entire Pareto frontier; however, this is a suggestion and is not a requirement of this interface.
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||