Class SharpRidge
java.lang.Object
org.moeaframework.problem.AbstractProblem
org.moeaframework.problem.BBOB2016.BBOBFunction
org.moeaframework.problem.BBOB2016.SharpRidge
- All Implemented Interfaces:
AutoCloseable
,Problem
The Sharp Ridge 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:
- Non-differentiable
- Constant gradient
- Unimodal
-
Field Summary
Fields inherited from class org.moeaframework.problem.AbstractProblem
numberOfConstraints, numberOfObjectives, numberOfVariables
-
Constructor Summary
ConstructorDescriptionSharpRidge
(int numberOfVariables) Constructs a new instance of the Sharp Ridge function. -
Method Summary
Methods inherited from class org.moeaframework.problem.BBOB2016.BBOBFunction
newSolution
Methods inherited from class org.moeaframework.problem.AbstractProblem
close, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
SharpRidge
public SharpRidge(int numberOfVariables) Constructs a new instance of the Sharp Ridge function.- Parameters:
numberOfVariables
- the number of decision variables
-
-
Method Details
-
evaluate
Description copied from interface:Problem
Evaluates 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
-