|
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.misc.Schaffer
public class Schaffer
The Schaffer problem. The Schaffer problem is univariate, with the optimum
defined by 0 <= x <= 2.
Properties:
References:
| Field Summary |
|---|
| Fields inherited from class org.moeaframework.problem.AbstractProblem |
|---|
numberOfConstraints, numberOfObjectives, numberOfVariables |
| Constructor Summary | |
|---|---|
Schaffer()
Constructs the Schaffer problem. |
|
| 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. |
Solution |
newSolution()
Returns a new solution for this problem. |
| 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 Schaffer()
| Method Detail |
|---|
public void evaluate(Solution solution)
Problem
evaluate in interface Problemsolution - the solution to be evaluatedpublic Solution newSolution()
Problem
newSolution in interface Problempublic 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.
generate in interface AnalyticalProblem
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||