public class WFG1 extends WFG
numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
WFG1(int k,
int l,
int M)
Constructs a WFG1 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 |
---|---|
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.
|
newSolution
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, isType
public WFG1(int k, int l, int M)
k
- the number of position-related variables for this probleml
- the number of distance-related variables for this problemM
- the number of objectives for this problempublic void evaluate(Solution solution)
Problem
solution
- the solution to be evaluatedpublic Solution generate()
AnalyticalProblem
NondominatedPopulation
to remove 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.
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.