Class Gallagher
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.Gallagher
- All Implemented Interfaces:
AutoCloseable,Named,Problem
The 101-peak Gallagher function. It is not intended for this function to be used directly since the BBOB test suite
applies additional transformations to the test functions.
Properties:
- Multimodal (with random locations of local optima)
-
Field Summary
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables -
Constructor Summary
ConstructorsConstructorDescriptionGallagher(int numberOfVariables, double[][] rotation, double[][] xLocal, double[][] arrScales, double[] peaks) Constructs a new instance of the 101-peak Gallagher function. -
Method Summary
Methods inherited from class org.moeaframework.problem.BBOB2016.BBOBFunction
newSolutionMethods inherited from class org.moeaframework.problem.AbstractProblem
close, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
Gallagher
public Gallagher(int numberOfVariables, double[][] rotation, double[][] xLocal, double[][] arrScales, double[] peaks) Constructs a new instance of the 101-peak Gallagher function.- Parameters:
numberOfVariables- the number of decision variablesrotation- the rotation matrixxLocal- the location of the local optimaarrScales- controls the steepness of the peakspeaks- the magnitude of the peaks
-
-
Method Details
-
evaluate
Description copied from interface:ProblemEvaluates the solution, updating the solution's objectives in place. Algorithms must explicitly call this method when appropriate to evaluate new solutions or reevaluate modified solutions.- Parameters:
solution- the solution to be evaluated
-