public class CF10 extends AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
CF10()
Constructs a CF10 test problem with 10 decision variables.
|
CF10(int numberOfVariables)
Constructs a CF10 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 CF10()
public CF10(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.