Class BBOBFunction
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
- All Implemented Interfaces:
AutoCloseable,Named,Problem
- Direct Known Subclasses:
AttractiveSector,BBOBTransformation,DifferentPowers,Ellipsoid,Gallagher,Rastrigin,Rosenbrock,Schaffers,Schwefel,SharpRidge,Sphere
Abstract class for the functions provided by the BBOB test suite. These functions are exclusively single-objective.
-
Field Summary
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables -
Constructor Summary
ConstructorsConstructorDescriptionBBOBFunction(int numberOfVariables) Constructs a new function for the BBOB test suite. -
Method Summary
Modifier and TypeMethodDescriptionReturns a new solution for this problem.Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
BBOBFunction
public BBOBFunction(int numberOfVariables) Constructs a new function for the BBOB test suite.- Parameters:
numberOfVariables- the number of decision variables
-
-
Method Details
-
newSolution
Description copied from interface:ProblemReturns a new solution for this problem. Implementations must initialize the variables so that the valid range of values is defined, but typically leave the actual value at a default or undefined state.- Returns:
- a new solution for this problem
-