|
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.WFG.WFG
public abstract class WFG
Implements methods shared by all problems in the WFG test suite.
| Field Summary | |
|---|---|
protected int |
k
The number of position-related variables defined by this problem. |
protected int |
l
The number of distance-related variables defined by this problem. |
protected int |
M
The number of objectives defined by this problem. |
| Fields inherited from class org.moeaframework.problem.AbstractProblem |
|---|
numberOfConstraints, numberOfObjectives, numberOfVariables |
| Constructor Summary | |
|---|---|
WFG(int k,
int l,
int M)
Constructs a WFG problem instance with the specified number of position-related and distance-related variables and the specified number of objectives. |
|
| Method Summary | |
|---|---|
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.problem.AnalyticalProblem |
|---|
generate |
| Methods inherited from interface org.moeaframework.core.Problem |
|---|
close, evaluate, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables |
| Field Detail |
|---|
protected final int k
protected final int l
protected final int M
| Constructor Detail |
|---|
public WFG(int k,
int l,
int M)
k - the number of position-related variables defined by this probleml - the number of distance-related variables defined by this problemM - the number of objectives defined by this problem| Method Detail |
|---|
public Solution newSolution()
Problem
newSolution in interface Problem
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||