public class Rastrigin extends BBOBFunction
Properties:
numberOfConstraints, numberOfObjectives, numberOfVariables
Constructor and Description |
---|
Rastrigin(int numberOfVariables)
Constructs a new instance of the Rastrigin function.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Evaluates the solution, updating the solution's objectives in place.
|
newSolution
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
public Rastrigin(int numberOfVariables)
numberOfVariables
- the number of decision variablespublic void evaluate(Solution solution)
Problem
solution
- the solution to be evaluatedCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.