public abstract class WFG extends AbstractProblem implements AnalyticalProblem
Modifier and Type | Field and Description |
---|---|
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.
|
numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Solution |
newSolution()
Returns a new solution for this problem.
|
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generate
close, evaluate, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, isType
protected final int k
protected final int l
protected final int M
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 problempublic Solution newSolution()
Problem
newSolution
in interface Problem
Copyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.