public class UF7 extends AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
UF7()
Constructs a UF7 test problem with 30 decision variables.
|
UF7(int numberOfVariables)
Constructs a UF7 test problem with the specified number of decision
variables.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Evaluates the solution, updating the solution's objectives in place.
|
Solution |
newSolution()
Returns a new solution for this problem.
|
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
public UF7()
public UF7(int numberOfVariables)
numberOfVariables
- the number of decision variablespublic void evaluate(Solution solution)
Problem
solution
- the solution to be evaluatedpublic Solution newSolution()
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.